Re: Reusing a tape

2007-12-05 Thread Marc Muehlfeld

Paul Bijnens schrieb:
>amrmtape theconfig FULLBACK-10
> ...

If you omit this, then amanda will e.g. plan a level 2,

> based on the level 1 DLE that did not had errors, but
> was stored on that tape.

Yes, you're right. This is better to do first. I just thought, this won't 
happen in his "dumpcycle 0" configuration.



--
Marc Muehlfeld (Leitung Systemadministration)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78
http://www.medizinische-genetik.de


Re: Reusing a tape

2007-12-05 Thread Paul Bijnens



Marc Muehlfeld wrote:

Yogesh Hasabnis schrieb:


I would like to use the same tape again. What do I need to do to
get this done (ie to use the same tape again)?


Did I understand you right: You backuped your clients and one DLE failed.
And now you want to rerun the complete set on the same tape? In this case
you can relabel your tape

amlabel -f {Set} FULLBACK-10

Amanda ll tread the tape as new. But make sure that your really want to
overwrite the tape. You ll lose the backup of that day.



I usually do:  (actually I avoid it, but anyway, if really needed)
First inform amanda that this tape is no longer valid:

   amrmtape theconfig FULLBACK-10

Now amanda will clear the indexes etc, but also adjust the bookkeeping
of what levels were successfully backed up.  If you omit this, then
amanda will e.g. plan a level 2, based on the level 1 DLE that did not
had errors, but was stored on that tape.

Then label it again, using the "-f" flag:

   amlabel -f theconfig FULLBACK-10






Re: Reusing a tape

2007-12-05 Thread Marc Muehlfeld
Yogesh Hasabnis schrieb:
> The most recent monthly full backup failed for some reason. The error
> reported in the amanda email is as follows:
>
> FAILURE AND STRANGE DUMP SUMMARY:
> /vol/vol1/home  lev 0  FAILED [data timeout]
> /vol/vol1/home  lev 0  FAILED [dump to tape
> failed]

Have you checked http://wiki.zmanda.com/index.php/Data_timeout ?




> So I need to the take the monthly full backup again. But the amanda
> message
>
> "These dumps were to tape FULLBACK-10.
> The next tape Amanda expects to use is: a new tape."
>
> suggests that I would need to use a new tape to attempt the full backup
> again. I would like to use the same tape again. What do I need to do to
> get this done (ie to use the same tape again)?

Did I understand you right: You backuped your clients and one DLE failed.
And now you want to rerun the complete set on the same tape? In this case
you can relabel your tape

amlabel -f {Set} FULLBACK-10

Amanda ll tread the tape as new. But make sure that your really want to
overwrite the tape. You ll lose the backup of that day.



Marc



-- 
Marc Muehlfeld (Leitung Systemadministration)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78
http://www.medizinische-genetik.de