I wonder what the best way to backup files via the network.
I have Solaris machines with Oracle 10i on a Veritas cluster. Machines are connected to EMC storage.
/data/oracle directory is mounted on the EMC storage.
What I want is to backup the
/data/oracle directory (70G) on some backup machine via the network (include soft-linked files). The reliability of copying files is very important.
I checked and found some ideas to do that.
For example the first option is to use
rsync -WavH –progress /data/oracle $backup_server_ip:/Backup_dir
The second option is transfering the files with
ssh, dealing with compression on both sides of the pipe:
cd /directory_that_we_want_to_backup tar cpf - . | bzip2 -c | \ ssh $backup_server_ip "cd /Backup_dir && bzip2 -d | tar xpf -"
and so on.
I need advice on what is more reliability from the options above, and maybe on what other good options there are for this.