SUMMARY: remote dump with local archive file

From: Claude Scarpelli (claude@genethon.genethon.fr)
Date: Fri Nov 25 1994 - 22:11:33 CST


Some days (weeks) ago, I asked sun-managers :

" From: Claude Scarpelli <claude@genethon.genethon.fr>
" Subject: remote dump with local archive file
" Date: Tue, 8 Nov 1994 14:47:43 +0100 (MET)
"
"
" Dear Sun-Managers,
"
" I try to use the -a options of dump and restore (with remote tapes).
" This options specifies the name of a file where dump will create a
" table-of-contents of the backup. When given to restore, restore use
" this option to read the table-of-content of the archive instead of
" reading the tape.
"
" [...]
"
"
" So my question is : Is anybody there that successfully use the archive
" table-of-contents with remote tapes ?

The full question is at the end of this message (and the only answer too).

I received only one answer (from Ray Brownrigg
<Ray.Brownrigg@isor.vuw.ac.nz>) who says that the goal can be achieved
by reading the local table of content with :

restore iva /tmp/toc.1

Then, if I want to access the real (remote) tape, I use:
restore ivf tapeserver:/dev/...

Ok, that's life. But I would like to know why
restore ivaf /tmp/toc.1 taperserver:/dev/...
does not works.

------------------------------ ORIGINAL QUESION -----------------------
From: Claude Scarpelli <claude@genethon.genethon.fr>
Subject: remote dump with local archive file
To: sun-managers@eecs.nwu.edu
Date: Tue, 8 Nov 1994 14:47:43 +0100 (MET)

Dear Sun-Managers,

I try to use the -a options of dump and restore (with remote tapes).
This options specifies the name of a file where dump will create a
table-of-contents of the backup. When given to restore, restore use
this option to read the table-of-content of the archive instead of
reading the tape.

Lets take an example:

tapeserver# rsh client '/usr/etc/dump 1uaf /tmp/toc.1 tapeserver:/dev/rmt/0cbn'

After this command completes, the backup is on the tape device on the
tapeserver and a table-of-content is on the client.

At this point, I can no longer use this table-of content:

client# restore ivaf /tmp/toc.1 tapeserver:/dev/rmt/0cbn fails with :
Verify volume and initialize maps
read: Bad file number

Media read error: Unknown error

Tracing the process shows that when restore speaks with rmt, it
forgets to open the remote file.

Using rdump, rrestore (SunOS 4.1.3 version) or ufsdump, ufsrestore
doesn't make difference : All fails when the tape is remote and the
table-of-contents is local (I discover that the table of content can
not be remote)

So my question is : Is anybody there that successfully use the archive
table-of-contents with remote tapes ?

As usual, I will summarize.

Best Regards,

---------------------- ANSWER from Ray Brownrigg -----------------------
From: Ray Brownrigg <Ray.Brownrigg@isor.vuw.ac.nz>
Date: Wed, 9 Nov 1994 21:54:05 +1300
Message-Id: <199411090854.AA26643@mailhost.isor.vuw.ac.nz>
Subject: Re: remote dump with local archive file

Yes, but I use it in a different way from what you are trying.

You should try:
restore ivf /tmp/toc.1

I don't see why you want to use the remote tape file as well as the
local archive, since the tape contains the table of contents anyway.

I use the archive to check what is on the tape, but then if I need to
do
a restore, I use just the remote tape.

Hope this helps,
Ray Brownrigg <ray@isor.vuw.ac.nz>

-- 
------------------------------------------------------------------------------
Claude Scarpelli                        Internet : claude@genethon.fr
Centre de Recherche sur le Génome Humain



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:15 CDT