INTELLIGENT WORK FORUMS FOR COMPUTER PROFESSIONALS
Come Join Us!
Are you a Computer / IT professional? Join Tek-Tips now!
- Talk With Other Members
- Be Notified Of Responses
To Your Posts
- Keyword Search
- One-Click Access To Your
Favorite Forums
- Automated Signatures
On Your Posts
- Best Of All, It's Free!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.
Partner With Us!
"Best Of Breed" Forums Add Stickiness To Your Site

(Download This Button Today!)
Member Feedback
"...I have tons of books, have book marked tons of tutorials, which have helped, but this forum has answered those "impossible to find" solutions. I am thrilled with this site..."
Geography
Where in the world do Tek-Tips members come from?
|
how to backup to second harddrive and or network
|
|
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: cd /filesystem/to/backup tar cvf - . | gzip -c | rcmd remotehost dd of=/some/dir/backup.tar.gzTo restore: cd /filesystem/to/restore rcmd remotehost dd if=/some/dir/backup.tar.gz | gunzip -c | tar xvf - 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. |
|
|
 |
|