Re: A question about tapecycles and 0 dumps

2001-01-22 Thread Gerhard den Hollander

* Christoph Scheeder <[EMAIL PROTECTED]> (Mon, Jan 22, 2001 at 10:31:14AM 
+0100)

>> It looks like amanda tries to squeeze exactly 1 0 dump for each filesystem
>> in a dumpcycle.
>> 
>> This is bad
>> (just imagine a diskcrash just as the disk is being 0dumped to the tape
>> that had the last 0dump on it).

> No, that is the intended way amanda works.

Okay

>> Is there any way to get amanda to do 2 0dumps per filesystem in each
>> dumpcycle (apart form specifying a dumpcycle of N/2 days ) ?

> No other way. Dumpcycle is exactly ment for this purpose. 
> To give the time after that every filesystem has to be dumped at least 
> once with a level 0 dump.

Okay

>> Or am I misunderstanding things here ?
> Yes.

Okay,
that explains it ;)

> if you specify a dumpcycle of 7 days, with runspercycle set to 5 
> and tapecycle set to 10, amanda will only accept tape T1 when it has
> written to tape T10 before.
>  dumpcyle tels amanda how often to do level 0's
> and tapecycle tells her how many tapes she should use before
> recycling them.

> Hope it helps

Yup,
sure does.

Rereading the manpages, I see that that's exactly what's written there,
I guess that'll teach me not to read manpages on sunday evenings ;) )



Kind regards,
 --
Gerhard den Hollander   Phone +31-10.280.1515
Technical Support Jason Geosystems BV   Fax   +31-10.280.1511
   (When calling please note: we are in GMT+1)
[EMAIL PROTECTED]  POBox 1573
visit us at http://www.jasongeo.com 3000 BN Rotterdam  
JASON...#1 in Reservoir CharacterizationThe Netherlands

  This e-mail and any attachment is/are intended solely for the named
  addressee(s) and may contain information that is confidential and privileged.
   If you are not the intended recipient, we request that you do not
 disseminate, forward, distribute or copy this e-mail message.
  If you have received this e-mail message in error, please notify us
   immediately by telephone and destroy the original message.



Re: A question about tapecycles and 0 dumps

2001-01-22 Thread Alexandre Oliva

On Jan 22, 2001, Gerhard den Hollander <[EMAIL PROTECTED]> wrote:

> It looks like amanda tries to squeeze exactly 1 0 dump for each filesystem
> in a dumpcycle.

Yep.  dumpcycle specifies how often you want full backups.  tapecycle
specifies how many tapes you have.  If you want more than one full
backup of each disk in your tapecycle, tapecycle must be at least
twice as long as runspercycle (= dumpcycle, if you run Amanda every
day) times runtapes (= 1 by default).  

> If I have a 10 day dumpcycle, (T1 .. T10)

This means tapecycle should be 10 tapes.

> and set my dumpcycle to 5,
> and at day 6 I can reuse T1 which is not what I want.

Nope.  If you set dumpcycle to 5, you'll get one backup every 5 days,
regardless of tapecycle.  If you set tapecycle to 10, you won't be
able to reuse a tape before overwriting other 9 tapes, regardless of
dumpcycle.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: A question about tapecycles and 0 dumps

2001-01-22 Thread Christoph Scheeder

Hi,


Gerhard den Hollander schrieb:
> 
> It looks like amanda tries to squeeze exactly 1 0 dump for each filesystem
> in a dumpcycle.
> 
> This is bad
> (just imagine a diskcrash just as the disk is being 0dumped to the tape
> that had the last 0dump on it).

No, that is the intended way amanda works.

> 
> Is there any way to get amanda to do 2 0dumps per filesystem in each
> dumpcycle (apart form specifying a dumpcycle of N/2 days ) ?

No other way. Dumpcycle is exactly ment for this purpose. 
To give the time after that every filesystem has to be dumped at least 
once with a level 0 dump.
 
> If I have a 10 day dumpcycle,
> (T1 .. T10) (and a few spare tapes T11 ..
> and set my dumpcycle to 5,
> and at day 6 I can reuse T1 which is not what I want.
> It should only allow me to use T6 (or T11 ... or a new tape or ..)
> 
> Or am I misunderstanding things here ?

Yes. if you specify a dumpcycle of 7 days, with runspercycle set to 5 
and tapecycle set to 10, amanda will only accept tape T1 when it has
written to tape T10 before.
 dumpcyle tels amanda how often to do level 0's
and tapecycle tells her how many tapes she should use before
recycling them.

Hope it helps
Christoph

 
> Kind regards,
>  --
> Gerhard den Hollander   Phone +31-10.280.1515
> Technical Support Jason Geosystems BV   Fax   +31-10.280.1511
>(When calling please note: we are in GMT+1)
> [EMAIL PROTECTED]  POBox 1573
> visit us at http://www.jasongeo.com 3000 BN Rotterdam
> JASON...#1 in Reservoir CharacterizationThe Netherlands
> 
>   This e-mail and any attachment is/are intended solely for the named
>   addressee(s) and may contain information that is confidential and privileged.
>If you are not the intended recipient, we request that you do not
>  disseminate, forward, distribute or copy this e-mail message.
>   If you have received this e-mail message in error, please notify us
>immediately by telephone and destroy the original message.



A question about tapecycles and 0 dumps

2001-01-22 Thread Gerhard den Hollander

It looks like amanda tries to squeeze exactly 1 0 dump for each filesystem
in a dumpcycle.

This is bad
(just imagine a diskcrash just as the disk is being 0dumped to the tape
that had the last 0dump on it).

Is there any way to get amanda to do 2 0dumps per filesystem in each
dumpcycle (apart form specifying a dumpcycle of N/2 days ) ?

If I have a 10 day dumpcycle,
(T1 .. T10) (and a few spare tapes T11 ..
and set my dumpcycle to 5,
and at day 6 I can reuse T1 which is not what I want.
It should only allow me to use T6 (or T11 ... or a new tape or ..)

Or am I misunderstanding things here ?



Kind regards,
 --
Gerhard den Hollander   Phone +31-10.280.1515
Technical Support Jason Geosystems BV   Fax   +31-10.280.1511
   (When calling please note: we are in GMT+1)
[EMAIL PROTECTED]  POBox 1573
visit us at http://www.jasongeo.com 3000 BN Rotterdam  
JASON...#1 in Reservoir CharacterizationThe Netherlands

  This e-mail and any attachment is/are intended solely for the named
  addressee(s) and may contain information that is confidential and privileged.
   If you are not the intended recipient, we request that you do not
 disseminate, forward, distribute or copy this e-mail message.
  If you have received this e-mail message in error, please notify us
   immediately by telephone and destroy the original message.