tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY] Remote backup
@ 2000-04-12  9:07 Jean-Loup Risler
  0 siblings, 0 replies; only message in thread
From: Jean-Loup Risler @ 2000-04-12  9:07 UTC (permalink / raw)
  To: tru64-unix-managers

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@genetique.uvsq.fr  |
| 78035  Versailles Cedex France |                                  |
---------------------------------------------------------------------
Les cerveaux sont malencontreusement pourvus d'estomac (J. Perrin)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-04-12  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-12  9:07 [SUMMARY] Remote backup Jean-Loup Risler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox