copying a home directory onto a removable drive and back

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

> Recommendations?

I would use the dd command:

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