Newsgroups: comp.unix.aix
Path: utzoo!utgpu!cunews!nrcnet0!cfd.di.nrc.ca!ng
From: ng@cfd.di.nrc.ca (Kai Ng)
Subject: Re: Doing multiple backups on the 6000 8mm tape
Message-ID: <1991Feb22.130641.14297@nrcnet0.nrc.ca>
Sender: root@nrcnet0.nrc.ca (Operator)
Nntp-Posting-Host: cfd.di.nrc.ca
Reply-To: ng@cfd.di.nrc.ca
Organization: Informatics, National Research Council Canada
References: <3366@ucsfcca.ucsf.edu> <1532@msa3b.UUCP> <1991Feb20.105914.17233@ccu1.aukuni.ac.nz> <1991Feb21.160905.3760@arnor.uucp>
Date: Fri, 22 Feb 91 13:06:41 GMT

In article <1991Feb21.160905.3760@arnor.uucp>, wlm@entwash.watson.ibm.com (Bill Moran) writes:
|> 
|> I think that the positioning using tctl and
|> Backup works correctly. restore is where problems arise.
|> However, if you tctl to the position where you think stuff 
|> should be written, and you then use something like:
|> dd if=/dev/rmt0 bs=5000k | restore if - or somesuch, this
|> should work. I do multiple backups on one tape, and I've 
|> been able to restore them this way. I've never
|> had any luck using restore alone on an RS6000.
|> 
|> 
|> Bill Moran

After spending days in trying all those commands: tctl, backup, restore, etc.,
finally I got it work. To restore from tape with multiple backups
by i-node number, just do

   restore -i -s3 -q -f/dev/rmt0.1

Here the -s3 is an example if you want the third tape file to be restored.
However, if you want the next tape file, after you have done with the above
example, -s1 should be used then. It is described on the corresponding man page.

Unfortunately, you cannot do incremental backup or the -s flag with files
backup by name.

-- 
-----------------------------------------------------------------------------
Kai S. Ng                     Informatics, National Research Council Canada
INTERNET ng@cfd.di.nrc.ca     M-60 Montreal Road, Ottawa, Canada    K1A 0R6
BITNET   kain@nrcvm01.bitnet  VOICE (613) 993-0240       FAX (613) 954-2561
