copying a home directory onto a removable drive and back

user1 bqz69 at telia.com
Wed Aug 18 05:56:43 UTC 2010


> Recommendations?

I would use the dd command:


http://www.linuxquestions.org/questions/linux-newbie-8/learn-the-dd-
command-362506/

An example:

To backup a directory:

dd if=/home/user1 of=/mnt/sdc1/filename2.img

##

To restore the directory:

dd if=/mnt/sdc1/filename2.img of=/home/user1






More information about the ubuntu-users mailing list