Hi Philippe,

I have a similar setup as yours.  What I did is to create two different
configuration sets.  One for DailySet and another for FullSet.  Those two
sets have a different disklist.  Both has the same disk listing but have
different dumptypes.  For DailySet, all of my dumptypes are incremental
(nocomp-user and nocomp-root for example).  And in FullSet configurations,
I used "always-full" dumptype.  Here's an example "always-full" dumptype:

define dumptype always-full {
    global
    comment "Full dump of this filesystem always"
    compress none
    priority high
    maxdumps 2
    dumpcycle 0
    record no
}

You probably would want to change the compress option if you wanted to have
software compression.  I have a DLT 7000 with hardware compression so I
have mine set to none.  The "dumpcycle 0" forces amanda to perform level 0
dumps.  The "record no" in the dumptype definition is needed because it
tells amanda not to update /etc/dumpdates file when performing level 0
dumps.  If you don't do that, the incrementals will get messed up in the
DailySet.

You can add FullSet configuration to crontab to run "amdump FullSet" on
Fridays and run "amdump DailySet" on other days.

I've used this setup for a while and it worked very well.  This way, you
don't need to fiddle around with runspercycle and tapecycle.  Just set them
according to your tape allocation.  I have two different tape sets.  One
for DailySet and another set for FullSet.  Each set has their own
tapecycle, runspercycle and labelstr.

Hope this will resolve your problem.

Josh

Philippe Dogliani wrote:
> 
> Hello,
> Well I am going to try to explain my problem:
> On my sytem amanda is performing incremental backup
> every monday, tuesday, wednesday and thursday nights
> and a full backup is done every friday nights.
> I got a pool of 16 tapes (4 weeks) for the incremental
> and every friday morning I put a new tape for the full backup.
> My problem is that since several weeks, every friday
> it asks me for the monday night tape instead of a new one
> by changing in amanda.conf runspercycle 16 to runspercycle 20
> and tapecycle 16 to tapecycle 20, it is ok
> But then on monday morning it ask me for a new tape instead
> of the monday night tape, by changing again
> runspercycle 20 to runspercycle 16 and tapecycle 20 to tapecycle 16
> it is ok but the on the next friday the problem happens again...
> I don't know why
> Does someone can help me on that
> Thanks a lot
> Best regards
> Philippe
> 
> --
> --------------------------------------------------
> -- Philippe Dogliani                            --
> -- Mentor Graphics c/o CICA,                    --
> -- 2229, route des cretes                       --
> -- Sophia Antipolis, 06560 Valbonne, France     --
> -- Tel: (+33) 4 92 94 24 05                     --
> -- Fax: (+33) 4 92 94 24 61                     --
> -- http://www.inventra.com                      --
> --------------------------------------------------
> 
>

Reply via email to