On 11/10 04:49 , GATOUILLAT Pierre-Damien wrote:
> Perhaps with dd ? Something like :
> 
> (on the old server)#dd if=/dev/old_partition | ssh new_server dd 
> of=/dev/new_partition (perhaps indicate the bs=xxxx ? But with which ?)
> 
> Or with netcat and dd like that :
> 
> (new_server)#nc -l -p 10000 > /dev/new_part
> 
> (old_server)#dd if=/dev/old_part | nc -w 5 @IP_new_server 10000

this is basically what I did when I had to move a 100GB backuppc partition
from one machine to another. it only took about 12 hours; whereas it would
have taken days if done with tar or anything else that read hard links.

I probably did something like:

old-machine# dd if=/dev/vg00/lv00 | gzip | nc newhost 8888
new-machine# nc -l -p 8888 | gunzip | dd of=/dev/vg00/backup

then resize the filesystem that was copied, to take advantage of the space
on the new partition on the new machine.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to