On Thu, 8 Mar 2001, John R. Jackson wrote:

> >i have a weekly cycle of tapes (full backup 7 days a week) and once a
> >month i swap out friday's tape.  so this means i have two copies of
> >friday's tape, one on site in the cycle, and one off site.
>
> What's special about a tape from a Friday?  Did you tell Amanda to do
> a full dump of everything to it?  If not, and it's just any old tape
> in the cycle, it could have most anything on it, i.e. some full dumps,
> some incrementals, and there is no way to predict what the mix will be.

I do a full dump every night of the week.  No incremental, just full
backups overwriting the old backup every night.  Friday is only special
because that is the tape I arbitrarily picked to swap out every month.

> >i have never had to pull anything off of the older offsite tape, but now i
> >do, and i don't quite know how.  the last time this tape was written was
> >many weeks ago, but in amanda's database, the tape is from last week.
> >obviously the tape i have is not from last week, but how do i make amanda
> >think realize this?
>
> What, exactly, are you trying to do?  Are you trying to use amrecover?
> Or do you know what you want and you just need to run amrestore and pull
> off an image?

I am trying to get a single file off of a month old tape.

> If you're trying to use amrecover, you would have had to have saved
> all the index files.  It's highly unlikely you did that.  So I think
> you're probably going to have to use amrestore and pipe that into your
> restore program and work from there.  It would be something like this:
>
>   amrestore -p $TAPE <the-host> <the-disk> \
>     | gunzip \
>     | the-restore-program ...
>
> If the image is not compressed, leave out the gunzip step.
>
> If your restore program does not have an interactive mode (e.g. GNU tar),
> you'll probably need to do this twice, once to get a new catalogue and
> once to do the recovery.

I don't have the index files.  Could you elaborate on the syntax.  I am
using dump, not tar, and my archives are compressed.  I am not sure what
you mean by $TAPE and i am a bit shaky on 'the-restore-program'.  Also,
where do I run this?  The machine I want to restore from?

> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Thanks,
brian

Reply via email to