Amanda-Users

Re: Amanda Backup

2005-03-02 12:47:49
Subject: Re: Amanda Backup
From: "Stefan G. Weichinger" <monitor AT oops.co DOT at>
To: Jon LaBadie <amanda-users AT amanda DOT org>
Date: Wed, 2 Mar 2005 18:38:00 +0100
Hi, Jon,

on Mittwoch, 02. März 2005 at 17:03 you wrote to amanda-users:

JL> Is there any way of specifying a relative value?  Say "starttime +30"
JL> so it would begin no less than 30 min after the first dump starts.
JL> I guess it couldn't be after amdump starts because the estimate and
JL> planning stage varies in length.

JL> OK Jon, follow your own, oft given, advice, RTFM  ....

JL> Well there certainly is nothing in the man page describing relative
JL> values, so I suspect I answered my own query.  Perhaps it would be
JL> a good "Wish List" item.

It is relative when you read http://www.amanda.org/docs/using.html
(still not formatted completely ...):

>    The starttime dumptype parameter delays a backup some amount of
>    time after AMANDA is started. The value is entered as HHMM, so 230,
>    for instance, would wait 2.5 hours. This may be used to delay
>    backups of some areas until they are known to be idle.

The manpage says:

> starttime "int"
> Default:  none.   Backups  will not start until after this time of
> day.  The value should be hh*100+mm, e.g. 6:30PM (18:30) would be
> entered as 1830.

No relativity here, you're right.

CVS-Changelog:

>         Allow certain dumptypes to be kicked off at specific times.
>         Add a new, optional, parameter to the dumptype description in
>         the config file.  The parameter is called "starttime" and takes
>         one argument which is a time of day (local timezone) formated
>         as either hhmm or hmm (no `.'s, no `:'s, just an integer).
>                 define dumptype comp-user-2am {
>                         comment "Non-root partitions on fast machines"
>                         options compress-fast
>                         priority medium
>                         starttime 0200
>                 }
>         Any partitions listed in disklist with this dumptype will be
>         fired off no earlier than 2am.  If 2am today is less than 43200
>         seconds past (12 hours ago) it will assume you meant 2am today
>         and fire the dumps off right away.  But if 2am today is more
>         than 12 hours in the past, it will wait till 2am tomorrow.
>         Patch from Brad Huntting <huntting AT misc.glarp DOT com>.

This was AMANDA 2.3.0.4 ...

-- 
best regards,
Stefan

Stefan G. Weichinger
mailto:monitor AT oops.co DOT at





<Prev in Thread] Current Thread [Next in Thread>