Centos – 1TB of folder I would like to copy to another server

centosnetworkingstorage

I have a 1TB folder with many files on Centos server
I need to make sure another Centos server has the same folder and files for backup.
right now the backup server has no files. once I copy all the folders I guess I can use "rsync" but for the first copy I think I'll need something else
I have 2 NIC on both servers in cross cable which I would like to use for the backup.
any good idea?
thanks

Best Answer

you can also tar and untar over ssh in a single command, this is good for only one trancefer you can use rsync after you do a full copy

cd /data ; tar cf - . | ssh -C -c blowfish root@server2 "cd /data ; tar xf - "

I am not sure, but it could be faster then rsync when there are a lot of small files

Related Topic