Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: pdchapin@news.amherst.edu (PAUL D. CHAPIN)
Subject: Re: No equivalent to rdump for AdvFS?
Date: 1995/07/25	[thread overview]
Message-ID: <3v3347$pnk@amhux3.amherst.edu> (raw)
In-Reply-To: 3v2mmr$4b2@yama.mcc.ac.uk

John Banks (John.Banks@man.ac.uk) wrote:
: Is there any way of performing a backup of an AdvFS file system to a
: remote tape device - i.e. an AdvFS equivalent of rdump? (and if not
: why not?)

Yes, but it's pretty ugly.  On the system with the tape drive enter:

rsh remote_host_name '/sbin/vdump -Ouf - /filesystem | dd ibs=10k
obs=64k' | dd ibs=64k obs=10k of=/dev/tapedrive

This requires an entry in the .rhosts file for the system your
dumping.

Alternatively, on the system your dumping from 

/sbin/vdump -0uf - /filesystem | dd ibs=10k obs=64k | rsh
remote_system_naem 'dd ibs=64k obs=10k of=/dev/tapedrive'

The restore is

dd ibs=64k obs=10k if=/dev/tapedrive | rsh remote_node_name 'cd
directory; dd ibs=10k obs=64k | /sbin/vrestore -t - -x filename'


Another possibility is to NFS mount the filesystem onto the system
with the tape drive.  I suspect that this is highly inefficient, but
it's simple.

(Somebody may want to check out these commands in case I've got a typo
somewhere.  I don't need to do this anymore and my notes are old).

--
Paul Chapin
A) Unix Systems Manager
B) User Services Coordinator
C) Information Coordinator
D) All of the above
Amherst College




  reply	other threads:[~1995-07-25  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-25  4:00 No equivalent to rdump for AdvFS? John Banks
1995-07-25  4:00 ` PAUL D. CHAPIN [this message]
1995-07-26  4:00 ` Ray Bellis
1995-07-27  4:00   ` Martijn Loots
read-only archive

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