How to do backup of MTD partitions of your IPCamera

This is the way I did my backup of IP Camera partitions:

The MTD0 is the whole flash (8MiB) :

/ # dd if=/dev/mtd0 of=/tmp/mtd0_fullflash.img bs=1k                                                         
8192+0 records in
8192+0 records out 

Send it to your FTP server:

/ # ftpput -v -u yourusername -p yourpassword 192.168.1.10 mtd0_fullflash.img /tmp/mtd0_fullflash.img

Replace the address 192.168.1.10 by your FTP server address, same to yourusername and yourpassword.

Just repeat this same approach for all other /dev/mtdN partitions.

P.S.: Instead of using ftpput to upload the file to your FTP server you could just copy these file to www-root (i.e. /mnt/www/) of your IPCamera.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s