copying a home directory onto a removable drive and back

Nils Kassube kassube at gmx.net
Wed Aug 18 06:46:21 UTC 2010


user1 wrote:
> > 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

But this is not from the link above, is it? Maybe you should TRY this 
before posting. It doesn't work because dd can work with files but not 
with directories.


Nils




More information about the ubuntu-users mailing list