[LBo] Moving Home

Tim xendistar at yahoo.co.uk
Sun Mar 11 19:15:17 CET 2007


On Sunday 11 March 2007 03:46, J. Armstrong wrote:
> On Fri, 9 Mar 2007, Tim wrote:
> > I am getting ready to swap distros over the weekend, I intend to copy my
> > entire home directory to an external usb disk, will I need to do anything
> > special with the permission, should I do anything speacial now before I
> > swop, particualrly with the  mail folder (I use kmail and my ISP, no mail
> > server)??
> >
> > Tim
>
> If you're backing up to a USB flash drive, don't copy the files directly;
> use tar to create an archive file preserving the permissions.
>
> sudo tar -zcSpf home.tar.gz /home
>
> When you set up the new system, make sure the user has the same user and
> group IDs, or be prepared to chown/chmod as required.
>
> To restore your data from the archive:
>
> sudo tar -zxSpf home.tar.gz
>
> Cheers,
>
> Jason
> --
I had decided to use Jason option to tar it up and move it, problem is that it 
only tars up the files it does not tar up the folder, any suggestions has to 
how I can get it to tar the entire contents of home??

Tim

		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html


More information about the QnA mailing list