1834296 Members
2597 Online
110066 Solutions
New Discussion

Re: Backup Tape Recorder

 
Antonio_16
New Member

Backup Tape Recorder

Please I wish to know how is the best remote command utility to make a backup from a VXFS HP 9000 device to ultra 60 SUN SOLARIS Tape
6 REPLIES 6
Sanjay_6
Honored Contributor

Re: Backup Tape Recorder

Hi Antonio,

If you don't use a backup software like omniback / veritas netbackup then I think the command commands are tar and cpio. You have fbackup on hp side, but don't think it is there on sun side too. You can use dd though.

Hope this helps.

regds
harry d brown jr
Honored Contributor

Re: Backup Tape Recorder

Gnu's tar will do such:

http://www.gnu.org/software/tar/tar.html


live free or die
harry
Live Free or Die
Volker Borowski
Honored Contributor

Re: Backup Tape Recorder

Hi,

make sure remsh works from HP to SUN.

Do backup then with

tar -cvf - ./directory_to_backup | remsh SUN dd of=/dev/rmt/tapedevice bs=5120

Do restore with

remsh SUN dd if=/dev/rmt/tapedevice bs=5120
| tar -xvf -


Hope this helps
Volker
Frank Slootweg
Honored Contributor

Re: Backup Tape Recorder

If the Sun Solaris system has rmt(1M), you may be able to use the "-f host:/dev/rmt/..." option of fbackup.

See the comment about /usr/sbin/rmt and /etc/rmt in the fbackup(1M) manual page.

Before actually trying this, make sure that

remsh host whereis rmt

works, as *root* and *without* having to give a password, and return somthing like:

rmt: /usr/sbin/rmt /usr/share/man/man1m.Z/rmt.1m
Peter Kloetgen
Esteemed Contributor

Re: Backup Tape Recorder

Hi Antonio,

I agree, that normally you should use tar or cpio if you don't use commercial software, but there is an alternative:

pax is a new command which is available on all UNIXes and is in work for Linux as well. It is able to read every tar- or cpio- format and for these reasons the ideal command if you work between different platforms. The pax- command is planned to be the future industrial standard.

More informations: man pax

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
Stanimir
Trusted Contributor

Re: Backup Tape Recorder

Hi Antonio,
Borowski solve the problem with
| remsh SUN "dd of=... "
In HP side you can use any comman to create arhive. I use pax -tdwx ustar -f - | remsh ..
JIP