D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Migrating/merging servers...

 

Rob Beard wrote:
> When I've done this myself I've booted into Knoppix or an Ubuntu Live 
> CD.  I have then created and formatted the partitions I want on the 
> destination drives.  I then mount the destination drive under sometime 
> like /mnt/new and and the original partition under something like 
> /mnt/old.  I then copy what I need to copy over to the new drive.
> 
> I would use a command line like...
> 
> cp -Rv /mnt/old/* /mnt/new
> 
> Which would copy all files and folders from /mnt/old to /mnt/new 
> recursively (so everything under /mnt/old).
> 
> I'd then make sure I updated the /etc/fstab to point to the new 
> partition (adding the mount point and partition if required).
> 
> Note, this is coming from memory so it might be slightly wrong.  Anyone 
> want to confirm if I am correct or not?
> 
> Ta,
> 
> Rob

Cheers Rob.

I was thinking that this is probably the easiest method - and to be 
honest, since this is not a "production server" or anything, it really 
ain't gonna make that much difference if it is taken offline for a few 
minutes.  Methinks I might just do this.

Grant.


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html