1836629 Members
1909 Online
110102 Solutions
New Discussion

backup

 
Fadia Almarei
Super Advisor

backup

i have hp unix 10.20 and i want to do remote restore for this server from a tape drive connected to another server which is hp 10.20 also , please quick help , i need what files i must change to do this backup
fadia.marei
11 REPLIES 11
Michael Tully
Honored Contributor

Re: backup

First we need to know what format the tape is written in.
Anyone for a Mutiny ?
Fadia Almarei
Super Advisor

Re: backup

it is dds2
fadia.marei
Steve Steel
Honored Contributor

Re: backup

Hi

I assume fbackup frecover



Restore from remote drive

/etc/frecover -xi/directory -f remote_name:/dev/rmt/0m

Remote restore, local drive

remsh remote_name " /etc/frecover -xi/directory \
-f local_name:/dev/rmt/0m"


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Fadia Almarei
Super Advisor

Re: backup

but the backup done by the tar command
fadia.marei
Sanjay Kumar Suri
Honored Contributor

Re: backup

Use tar xvf to restore on one system and ftp the restored data to transfer to another system.

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Steve Steel
Honored Contributor

Re: backup

Hi

Bad choice as slow but this should work
to restore a `tar' tape from a remote computer that owns a compatible drive.

cd /relative_path

remsh name -l user dd if=/dev/rmt/0m bs=10k | tar xvf -


You may do well to use tar tvf to check it but it works for me


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Fadia Almarei
Super Advisor

Re: backup

please explain the command deeply i do not know what to use
fadia.marei
Sanjay Kumar Suri
Honored Contributor

Re: backup

To backup: tar cvf /dev/rmt/0m files_names
To restore: tar xvf /dev/rmt/0m files_names
To Verify: tar tvf /dev/rmt/0m

Refer man tar pages for more details.


sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Sanjay Kumar Suri
Honored Contributor

Re: backup

Check this link for more inputs:

http://www.atmos.ucla.edu/web/info/HowTo/tape.html


sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Steve Steel
Honored Contributor

Re: backup

Hi

Ok

cd /relative_path

cd to where you want to recover from

Then to test it

remsh name -l user dd if=/dev/rmt/0m bs=10k | tar tvf -

Should show what is on tape

If you see what you expect then

remsh name -l user dd if=/dev/rmt/0m bs=10k | tar xvf -


Will recover files


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Eric Antunes
Honored Contributor

Re: backup

...where name is the server name...
Each and every day is a good day to learn.