Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to backup to second harddrive and or network

Status
Not open for further replies.

blabelle

Technical User
May 2, 2002
40
US
I have a SCO openserver 5.06 box that I need to do a backup off site to another server. I already have a second SCO openserver 5.06 box setup that I want to backup to. I want the backup to go to a specific directory on the second server also, the second server has a slave or second harddrive that I want the backup to go to also.
Is there any way to do a full backup to a second harddrive? Also is ther any way to do a full backup over the network.
Thanks for any help.
I have software that does backup to a tapedrive but no option to backup to second hard drive or over the network.
 
To backup:

[tt]cd /filesystem/to/backup
tar cvf - . | gzip -c | rcmd remotehost dd of=/some/dir/backup.tar.gz[/tt]

To restore:

[tt]cd /filesystem/to/restore
rcmd remotehost dd if=/some/dir/backup.tar.gz | gunzip -c | tar xvf -[/tt]

Annihilannic.
 
Any way to automate these commands, and I am assuming this is just for the backup to the second drive right?
 
No, this is for the backup to a remote host.

You will also need to set up "rsh" permissions on the remote server, which means you need the host name and IP address of the backup client in /etc/hosts and the host name and user name of the user performing the backup in the ~/.rhosts file on the backup server.

If they are set up correctly you should be able to run rcmd remoteserver uptime from the backup client to test.

So you want to back it up to the remote server AND copy it to the second hard drive on the remote server? To do that you could run another rcmd remotehost cp /some/dir/backup.tar.gz /second/hard/drive/backup.tar.gz after the initial backup.

Annihilannic.
 
I don't want to compress and decompress, I just wan to ftp the info from the first server to the second over the network automaticly at some time during the night. And then back up what was transfered to a second hard drive.
Or if there is any easier way than ftp that will accomplish the same thing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top