Re: Rewinding tapeless "tapes": why? error?
2003-07-12 00:43:51
On Fri, Jul 11, 2003 at 02:11:43PM -0700, Bao Ho wrote:
> >>
> >> That is what I used Paul
> >> ammt -f <tape-file> rewind.
>
> > Okay, but if you specified /dev/null as your tapedev in amanda.conf,
> > you are *not* using disk-pseudo-tapes; you are simply leaving files
> > in your staging area.
> >
> > If you were using disk-pseudo-tapes, you would have a tapedev of
> > "file:/some/directory/name" and "ammt -f file:/some/directory/name rewind"
> > would work fine.
>
>
> Marc,
> I don't explicitly specify /dev/null as my tapedev. It defaults to that
> value. I followed some instructions
> I found from the archive that for tapeless backup, you do not need to
> specify tapedev.
>
> I do have these followings:
> tpchanger "chg-multi"
> changerfile "/.../changer.conf"
>
> the changer.conf has:
> multieject 0
> gravity 0
> <...snip...>
> firstslot 1
> lastslot 6
>
> slot 1 file:/path/to/tape/file1
> slot 2 file:/path/to/tape/file2
> <...snip...>
>
>
> I only did "ammt -f /path/to/tape/file1/00001.server._home.1 rewind"
>
> I tried using "ammt -f file:/path/to/tape/file1/00001.server._home.1 rewind"
> as you suggested, and this is the error I got:
>
> file:/path/to/tape/file1/00001.server._home.1 rewind failed: Not a directory
>
>
> Any other ways I may use??
Have you tried any?
"00001.server._home.1" is equivalent to one file on a tape.
You don't rewind one "tape file", you rewind the entire tape.
Your "tapes" are "file1", "file2", ...
However, each should have a directory named "data".
And the incremental dump file you show above should
have been created in that "data" directory.
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|
|
|