How to safely copy home dir one cpu to another?

Josef Lowder joe at actionline.com
Mon Jan 15 16:08:29 MST 2007


.
Thanks, Eric. 

Excellent idea. 

-------------------
On Mon, 15 Jan 2007, Eric \"Shubes\" wrote
> Josef Lowder wrote:
> > .
> > What is the recommended procedure and correct syntax
> > to copy one's home directory from one computer to another? 
> > 
> > I make regular DVD backups of my home directory on my main 
> > Linux box and would like to copy the complete home directory 
> > onto my laptop on which I have installed the same distro. 
> > Of course, the laptop has some attributes that are different, 
> > such as the processor, cd/dvd drives, video card, etc. 
> > 
> > Are there any risks or potential problems to avoid in using a 
> > command syntax like the example below to copy my complete home 
> > directory (3.2 gig) from the desktop box DVD backup to the laptop?  
> > 
> > cp -pruv /mnt/cdrom/joe/* /home/joe
> >
> 
> To be on the safe side, and give you a chance to work out any kinks, 
> I'd copy the CD to a temporary directory, then mount the temporary 
> directory at
> (over top of) /home/joe. That way, you can always revert back to 
> your present /home/joe directory.
> 
> -- 
> -Eric 'shubes'




More information about the PLUG-discuss mailing list