In a message dated: Tue, 27 Nov 2001 10:06:48 EST
"Michael D. Beynon" said:

>My question is if I then create a new configname for the incremental
>backups, won't there be a state consistency problem between these two
>config dirs?  It seems like the state files should be common across
>all configs that use that changer.

I have a similar setup where my fulldumps are Sunday nights and my 
"incrementals" are Mon-Fri.  I have 2 separate configurations: 
'fulldumps' and 'incrementals'.  The 2 are not necessarilly "state" 
consistent.  My fulldumps are consistent with themselves, my 
incrementals are actually nothing more than a basic normal amanda 
config which gets run once per day, 5 days a week.  

My incrementals are meant to stay on site, also include periodic 
level 0 backups, and are over 3 week window, after which I recycle 
through the tapes.

My full backups are level 0 only, meant for off site storage, and are a
1 year window, after which I recylcle tapes.  They share the same 
changer, but have different configurations and slightly different 
disklists.

My goal is to have something both on site; which I can restore from 
immediately if I need it without having to wait for or request from 
the offsite storage company; and something offsite for long-term 
archival purposes to assist in disaster recovery efforts should we 
ever need them.  So far, it's worked out well.

Both configurations are managed by calling amdump each night from 
cron with the appropriate name of the configuration to be run.

So, my fulldumps config crontab entry looks like this:

        55 23 * * 0 /usr/local/amanda/sbin/amdump fulldumps

and my incrementals config crontab entry looks like this:

        55 23 * * 1-5 /usr/local/amanda/sbin/amdump incrementals

I make sure the right tape is in the right slot with these entries:

        45 23 * * 0 /usr/local/amanda/sbin/amtape fulldumps    slot 6 2> /dev/null
        45 23 * * 1 /usr/local/amanda/sbin/amtape incrementals slot 1 2> /dev/null
        45 23 * * 2 /usr/local/amanda/sbin/amtape incrementals slot 2 2> /dev/null
        45 23 * * 3 /usr/local/amanda/sbin/amtape incrementals slot 3 2> /dev/null
        45 23 * * 4 /usr/local/amanda/sbin/amtape incrementals slot 4 2> /dev/null
        45 23 * * 5 /usr/local/amanda/sbin/amtape incrementals slot 5 2> /dev/null

I hope that helps.
-- 

Seeya,
Paul
----

                          God Bless America!

        ...we don't need to be perfect to be the best around,
                and we never stop trying to be better. 
                       Tom Clancy, The Bear and The Dragon


Reply via email to