>
> hi all,
>
> I have four firewalls boxes (fw1, fw2, fw3, fw4) running solaris2.6 and only
> one dat tape drive which is attached to fw1, is there any way to use ssh to
> backup fw2, fw3 and fw4 on the dat tape drive which is attached to fw1, or
> can I use ssh to backup remotely?? any help will be apprecited
>
The short answer is yes you can. The thing you have to do is use password
less keys for RSA authentication. This way you don't have to have a password
in order to automate the backup routine. Essentially you end up doing
something like:
find . -print | cpio -ocvB |
ssh [EMAIL PROTECTED] dd of=/dev/rmt/0 -obs=(cpio block size)
You can of course use other programs than cpio (ufsdump for instance).
To restore its something like:
ssh [EMAIL PROTECTED] dd if=/dev/rmt/0 -obs=(cpio block size) |
cpio -icvB
The other thing you might find is that you need to prep your tape drive
(turn on compression or a particular block size support) with mt.
Another fruitful thing to do is to just do a search on "ssh" and "ufsdump".
I have been down this road before, so I know such a search should help
you.
CAVEAT: Its been a while since I did this, so I may have forgotten some
minor point. My suggestion is to read your man pages on dd, mt, cpio and
ufsdump, along with any tape device documentation you have.
Cheers...james