[LBo] Moving Home

J. Armstrong jarmstrong at gmx.net
Sun Mar 11 04:46:19 CET 2007


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
-- 
=======================================
Email:    jarmstrong at gmx.net
ICQ:      njamn8or/96783492
homepage: http://www.badatom.tk
=======================================

Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the QnA mailing list