D&C GLug - Home Page

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

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

 

Grant Sewell wrote:
> 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

Use cp -a instead of -R (to keep permissions and time stamps).

Also, -v is not recommended, because you won't see errors for all the 
output scrolling past.

Simon

-- 
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