View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#9
Originally Posted by kilroy155 View Post
Is there a way to backup or copy everything that is on the internal memory card before reformatting it, and then to copy/restore it back?
Yes, open X terminal and run
Code:
cp -r /media/mmc2 /media/mmc1/
This should create folder named mmc2 or your external card with everything copied from internal card. To be sure, check it with
Code:
find /media/mmc1/mmc2
You should see all file names. Also output of
Code:
du -sk /media/mmc2
du -sk /media/mmc1/mmc2
should give similar number. Also after copy, check kernel log via running 'dmesg' to see if there are any i/o errors, this may be sign of data corruption in some files you copied.

After formatting copy it back via
Code:
cp -r /media/mmc1/mmc2/* /media/mmc2/
.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following 2 Users Say Thank You to fanoush For This Useful Post: