My question: How can I dump a file system from my 2100 server onto a DLT
unit hooked to a nearby SUN?
Answer:
Let us assume that DEC is the name of the alpha server and SUN is the name
of the SUN machine, and that I want to backup the DEC's /usr file system.
1) make sure that SUN is listed in the DEC's root's /.rhosts file
2) from the SUN machine:
# rsh DEC -l root -n "/sbin/dump 0f - /usr" | dd of=/dev/rmt/0cn obs=60k
Worked like a charm...
In fact I dumped several file systems (fs1, fs2, ...) in one pass:
1) I created the following "backup_dec" script on the SUN:
rsh DEC -l root -n "/sbin/dump 0f - /fs1" | dd of=/dev/rmt/0cn obs=60k
rsh DEC -l root -n "/sbin/dump 0f - /fs2" | dd of=/dev/rmt/0cn obs=60k
rsh DEC -l root -n "/sbin/dump 0f - /fs3" | dd of=/dev/rmt/0cn obs=60k
....
2) On the SUN machine:
# at -f backup_dec midnight
My thanks go to: Lucien Hercaud (I chose his solution), Cledson Souza and
Nikola Milutinovic who suggested the other way round (launch the dump from
DEC and pipe/rsh to SUN)
Cheers,
Jean-loup
--
---------------------------------------------------------------------
| Jean-Loup Risler | |
| Universite de Versailles | Tel: 33 (0)1 39 25 45 54 |
| Lab. Genome et Informatique | Fax: 33 (0)1 39 25 45 69 |
| Batiment Buffon | |
| 45 Avenue des Etats-Unis | email: risler_at_genetique.uvsq.fr |
| 78035 Versailles Cedex France | |
---------------------------------------------------------------------
Les cerveaux sont malencontreusement pourvus d'estomac (J. Perrin)
Received on Wed Apr 12 2000 - 09:09:12 NZST