In fact,  i think this is the only change you need:
#====================================================#
# By default, Amanda can only track at most one run per calendar day. When
# the usetimestamps option is enabled, however, Amanda can track as many
# runs as you care to make.
# WARNING: This option is not backward-compatible. Do not enable it if you
#          intend to downgrade your server installation to Amanda community
#          edition 2.5
usetimestamps yes

#====================================================#

Deb Baddorf
Fermilab



> On Apr 25, 2021, at 10:53 PM, Jose M Calhariz 
> <[email protected]> wrote:
> 
> On Tue, Apr 13, 2021 at 10:22:16AM +0200, Cristian Zoicas wrote:
>> 
>> Hello All
>> 
>> I am very new to Amanda and I would like to ask a question about
>> the possibility of testing a specific configuration.
>> 
>> Let's assume that I have enuogh confidence in my Amanda configuration but
>> before using it in a production environment I would like to test how the
>> backups work. Mainly I would like to do the following:
>> 
>>   1) To run the backup procedure a numer of times in a row and see/check
>>      that the tapes are correctly used and reused.
>> 
>>   2) That I am able to perform restore operations.
>> 
>> Is it possibile to do that? I am mainly interested in 1 because so far I
>> was not able to do that. The unexpected thing that happens when I
>> run the backup task in a row is that Amanda behaves as if it is not
>> able to detect the passing of time (probably because it checks the real
>> calendaristic time).
> 
> Yes is possible to do more than one run per day and do some testing of
> your configuration.  You just need some tweeks on amanda.conf from the
> one you will use in production.
> 
> 
>> 
>> I've also tried to make the backup task thinkg that it is running in a
>> different day by using libfaketime. No success.
> 
> No need for that.
> 
>> 
>> Thank you.
>> Cristian
>> 
> 
> 
> Kind regards
> Jose M Calhariz
> 
> 
> -- 
> --
>       Uma autobiografia é um obituario em forma de seriado, ao
>       qual falta o último capítulo.
>               -- Quentin Crisp


Reply via email to