Re: Amanda increment level?

2002-04-30 Thread Jon LaBadie

On Tue, Apr 30, 2002 at 06:13:21AM +0300, Alexander Belik wrote:
 
 :) Will Amanda ask me for a new type when  new dumpcycle begin?
 Or I must do it manualy?
  
 End of included message 

Alexander,

Amanda uses a different model/concept than you are trying to fit on her.

First, amanda expects each run of amdump will be on its own set of tapes.
This means several tapes are in a rotation known as a tape cycle.  My
tape cycle is 18 tapes.

Amanda will NOT add one dump to the end of a tape containing a previous
dump.  It will either refuse to use the tape (if your config says it is
not time to reuse the tape) or it will overwrite the old data with a
new amdump.  Having a tapecycle of 1 means the next dump always destroys
the ONLY dump you currently have.  A definite NO-NO :)

Second, amanda does not synchronize the levels of dump of each file system
with each other one.  Instead, each file system is scheduled independently
with an aim of keeping the total size of each amdump run consistant.
So you should excpect to see a mixture of levels in each amdump run.

Third, to answer your specific question, no it will not ask.  That sounds
like you expect an interactive session.  Amanda is designed to be run
automatically on a scheduled basis (like my 2 AM nightly backup).  And
I'm not always here at 2 AM :)

Instead, each amdump run generates a report, generally emailed to the admin,
saying what tape it used and what tape it expects to have available the next
amdump run.  If that tape is not available for the next run, amanda complains
(in the email report) and tries to do what she can.  A common outcome is that
the new amdump get written to a disk area known as the holding disk and
can later be amflush'ed to the proper tape.

HTH

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)



Re: Amanda increment level?

2002-04-30 Thread Alexander Belik

On Tue, 30 Apr 2002, Jon LaBadie wrote:

  :) Will Amanda ask me for a new type when  new dumpcycle begin?
  Or I must do it manualy?
 
 First, amanda expects each run of amdump will be on its own set of tapes.
 This means several tapes are in a rotation known as a tape cycle.  My
 tape cycle is 18 tapes.

Ok! Thx!

 Amanda will NOT add one dump to the end of a tape containing a previous
 dump.  It will either refuse to use the tape (if your config says it is
 not time to reuse the tape) or it will overwrite the old data with a
 new amdump.  Having a tapecycle of 1 means the next dump always destroys
 the ONLY dump you currently have.  A definite NO-NO :)

So I must chage my types avery day (when amdump)? 

 Second, amanda does not synchronize the levels of dump of each file system
 with each other one.  Instead, each file system is scheduled independently
 with an aim of keeping the total size of each amdump run consistant.
 So you should excpect to see a mixture of levels in each amdump run.

:) Thanks! I understand! Amanda decide when do a next level (depending on 
size only?) and avery dumpcycle runs level 0 dump! I'am right?

 Third, to answer your specific question, no it will not ask.  That sounds
 like you expect an interactive session.  Amanda is designed to be run
 automatically on a scheduled basis (like my 2 AM nightly backup).  And
 I'm not always here at 2 AM :)

Amnada after avery backup generate a report with line:
---
The next tape Amanda expects to use is: AUTH2

So, I understand because tapecycle 1 tapes?

 Instead, each amdump run generates a report, generally emailed to the admin,
 saying what tape it used and what tape it expects to have available the next
 amdump run.  If that tape is not available for the next run, amanda complains
 (in the email report) and tries to do what she can.  A common outcome is that
 the new amdump get written to a disk area known as the holding disk and
 can later be amflush'ed to the proper tape.

I know this! Thanks!

-- 
   [EMAIL PROTECTED]ICQ: 41776461
 2:465/207@Fidonet  Alexander Belik
http://www.vnet.dn.ua[EMAIL PROTECTED]




Amanda increment level?

2002-04-29 Thread Alexander Belik


I can't understand how amanda increment level?
For example
--disklist-
www sda1 comp-high # /
www sda2 comp-user-tar # /home
www sda3 comp-root # /usr
www sda5 comp-user-tar # /var
---
dumpcycle 7 days
runspercycle 9
tapecycle 1 tapes

Amanda first night made llevel 0 next night made level 1 next day
some partitions stay on level 1 some begin from level 0 and rest made 
level 2?


-- 
   [EMAIL PROTECTED]ICQ: 41776461
 2:465/207@Fidonet  Alexander Belik
http://www.vnet.dn.ua[EMAIL PROTECTED]




Re: Amanda increment level?

2002-04-29 Thread Frank Smith

--On Tuesday, April 30, 2002 01:21:20 +0300 Alexander Belik [EMAIL PROTECTED] 
wrote:


 I can't understand how amanda increment level?
 For example
 --disklist-
 www sda1 comp-high # /
 www sda2 comp-user-tar # /home
 www sda3 comp-root # /usr
 www sda5 comp-user-tar # /var
 ---
 dumpcycle 7 days
 runspercycle 9
 tapecycle 1 tapes
 
 Amanda first night made llevel 0 next night made level 1 next day
 some partitions stay on level 1 some begin from level 0 and rest made
 level 2?


 --
[EMAIL PROTECTED]ICQ: 41776461
  2:465/207@Fidonet  Alexander Belik
 http://www.vnet.dn.ua[EMAIL PROTECTED]

You plan to run Amanda 9 times in 7 days using only 1 tape?

Frank

--
Frank Smith[EMAIL PROTECTED]
Systems Administrator Voice: 512-374-4673
Hoover's Online Fax: 512-374-4501



Re: Amanda increment level?

2002-04-29 Thread Alexander Belik

On Mon, 29 Apr 2002, Frank Smith wrote:

 --On Tuesday, April 30, 2002 01:21:20 +0300 Alexander Belik [EMAIL PROTECTED] 
wrote:
 
 
  I can't understand how amanda increment level?
  For example
  --disklist-
  www sda1 comp-high # /
  www sda2 comp-user-tar # /home
  www sda3 comp-root # /usr
  www sda5 comp-user-tar # /var
  ---
  dumpcycle 7 days
  runspercycle 9
  tapecycle 1 tapes
  
  Amanda first night made llevel 0 next night made level 1 next day
  some partitions stay on level 1 some begin from level 0 and rest made
  level 2?
 
 You plan to run Amanda 9 times in 7 days using only 1 tape?

I plan to use 1 type per week! 1 type per cycle

-- 
   [EMAIL PROTECTED]ICQ: 41776461
 2:465/207@Fidonet  Alexander Belik
http://www.vnet.dn.ua[EMAIL PROTECTED]




Re: Amanda increment level?

2002-04-29 Thread Alexander Belik

On Mon, 29 Apr 2002, Jay Lessert wrote:

  Amanda first night made llevel 0 next night made level 1 next day
  some partitions stay on level 1 some begin from level 0 and rest made 
  level 2?
 
 That's right.  In general, amanda will try to make sure you get:
 
 1)  At least one level 0 every dumpcycle days.
 
 2)  At least two level 0's over tapecycle tapes (so that
 if a single tape fails there is another level 0, even
   if it might be a little old).
 
 3)  Incrementals (level 1-9) will be used as convenient; the
 levels will increase if that is necessary to achieve 1) and
   2).
 
 You've given amanda an unconventional configuration.  You're telling
 it:
 
 dumpcycle 7 days
 Give me at least one level 0 on each disklist entry every 7 days
 (this part is conventional).
 
 runspercycle 9
 Over that 7 days, I intend to run amdump 9 times.  That part is
 unconventional.

But if I wont to run 7 times in 7 days?  This is conditional?

 The usual use for runspercycle != dumpcycle would be something like
 dumpcycle=7, runspercycle=5 (e.g, I want a level 0 every week, but
 I'm only going to run amdump on Monday-Friday, not Saturday or
 Sunday).
 
 tapecycle 1 tapes
 No, no, no.  tapecycle is the total number of tapes you want in
 your rotation.  For example, if your amanda runs all fit on
 a single tape and you run amdump 7 days/week, then:
 dumpcycle 7 days
 tapecycle 14 tapes
 You label 14 tapes, you always carry at least two level 0's.

:) Will Amanda ask me for a new type when  new dumpcycle begin?
Or I must do it manualy?
 

-- 
   [EMAIL PROTECTED]ICQ: 41776461
 2:465/207@Fidonet  Alexander Belik
http://www.vnet.dn.ua[EMAIL PROTECTED]