Everyone:

Need advice from some rsync experts. Here is the scenario.

I am trying to migrate data from an existing server to a new server using rsync.

Old server:

AMD Duron 800Mhz; 768MB RAM; 60 GB IDE hard drive; Intel 1000MT nic.

New server:

Intel P3 1Ghz; 1 GB RAM; two 40 GB IDE hard drives; Intel 1000MT nic.

Both these servers will be running Red Hat 7.3 and are used as Apache web servers
with PHP and MySql. I have done a basic setup on the new server in setting up the partitions.
What I what to do is copy the data from the old servers partitions to the new servers partitons
using rsync over SSH as root. Here is the syntax that I am using with rsync:


rsync -avup --partial --progress oldserver:/var newserver:/var

This is after connecting to both servers as root and over SSH. I have found that if I, for instance
try to copy /var using the above syntax it does not work. If I try putting an additional slash after the
var (ex. /var/ ) rsync tries to create the dir on the newserver but fails, I really don't want to do this
anyways since the partition is already created and I just want to copy the particular partition from the
oldserver with all permissions, etc. from the oldserver to the newserver.


I was going to try and copy all the data on all partitions on the old server to the new server and then simply
stick the RH 7.3 cdrom in the newserver and do an upgrade for the os to work with the new hardware on the
new server. Is there something wrong with way I am using rysnc and its options? or am I way off here trying
to do it this way?


Any help would be greatly appreciated.

Thanks,

Greg Corlett


Greg J. Corlett CSR Brigham Young University Department of Statistics TMCB 215 Provo, UT 84602 Phone: (801) 422-8346 FAX: (801) 422-0635 Email: [EMAIL PROTECTED]



____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to