Operating System - HP-UX
1826451 Members
3884 Online
109692 Solutions
New Discussion

Remote backing up of system

 
SOLVED
Go to solution
Henry Chua
Super Advisor

Remote backing up of system

Hi Guys,

Just to enquire, say I want to backup a server remotely. How can I telnet into it and back the data to my local system tape drive.. how should I specify the destination tape locally. (such as using tar )

Thank you
Henry
7 REPLIES 7
Yogeeraj_1
Honored Contributor

Re: Remote backing up of system

hi,

if your server is remote, you can mount the remote directory and send the files to the local tape drive.

whereas if your tape drive is found in a remote server, you can use named pipes to send the files to the remote tape drive.

hope this helps!
regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Franky_1
Respected Contributor
Solution

Re: Remote backing up of system

Hi,

you can backup to remote system using tar like follows :

tar cfv - . | remsh dd of=/dev/rmt/0m bs=10k (for example)

Regards

Franky
Don't worry be happy
Sunil Sharma_1
Honored Contributor

Re: Remote backing up of system

You can use dump and fbackup comamnd to do this. These commands support remote backup.

see man page of dump,vxdump and fbackup for more information
Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Sridhar Bhaskarla
Honored Contributor

Re: Remote backing up of system

Hi Henry,

If both are HP systems, then I suggest you use 'fbackup'. It has got a lot of advantages including 'incremental' backups. With incremental backups, you can actually backup your system everyday with minimum impact to the system.

All you have to do is to set up a .rhosts entry on the remote HP system for "root" and start using it's tape drive. For ex.,

fbackup -f other_sytem:/dev/rmt/0m -g

is a file where you include/exclude all the directories/files for the backup. Look at man page of 'fbackup' for more options.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bill Hassell
Honored Contributor

Re: Remote backing up of system

Note that all you can get with tar or fbackup is a backup of the files. There is no way to restore this backup to a new system disk as these tools require HP-UX to already be running. Note also that your network may be too slow for your tape drive. If the tape drive is a DDS-2 or DDS-1, you should be OK. DDS-3, DDS-4, DLT, Ultrium, AIT, etc are all too fast and will reposition every few records. This repositioning requires several seconds and will not only slow down the throughput (as much as 50:1) but will also cause excessive wear on the tape and drive.

If the remote system is HP-UX, download the latest copy of Ignite/UX and setup network recovery. You'll need enough disk space to hold the remote system's files plus some overhead for boot files. If the remote system just has a vg00, this is an ideal method as you can recover from a replaced boot disk over the network. Get Ignite/UX from http://www.software.hp.com/products/IUX/download.html


Bill Hassell, sysadmin
Prashant Zanwar_4
Respected Contributor

Re: Remote backing up of system

You may try

make_tape_recovery -a : -f content file.

or simply do

make_tape_recovery -i -a host:

it is interactive session.

Hope it helps somewhere.

Otherwise as mentioned above fbackup is your best bet as it is faster also.

Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Prashant Zanwar_4
Respected Contributor

Re: Remote backing up of system

I am sorry for the above. It will not allow you to select the remote tape device as I have experienced.
Then make_net_recovery will be good for you if you hold reasonable amount of space on remote server.
Sorry again
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."