On 2018-11-14 10:44, Chris Miller wrote:
Hi Folks,
I now have three working configs, meaning that I can backup three
clients. There is not much difference among the configs, but that is a
topic for a different thread. My question is how I manage what AMANDA is
doing?
So, let's suppose I fire up all three amdumps at once:
* How do I know if I'm getting level 0 or higher?
* How do I know the backups are running and have not silently failed?
* How do I know when they complete?
* How do I know what has been accomplished?
* :
These are all the sort of questions that might be answered by some sort
of dashboard, but I haven't heard of any such thing, nor do I expect to
hear of any such thing, but I am also equally sure that all the answers
exist. I just don't know where.
In short, how do I monitor and mange AMANDA?
Well, for generic monitoring, make sure the system can deliver email and
you have the aliases set up appropriately, and then configure Amanda to
email you a report when the dump completes.
The reports themselves are actually rather thorough, going over both
aggregate timing and performance information as well as the useful
generic stuff like knowing what dump level everything ran at and what
tapes got used.
You can get similar details for the last dump (or the current one if one
is in-progress) using the `amstatus` command, which will also show
progress info for individual DLE's if there is a dump running currently.
For more in-depth management, take a look at the `amadmin` and `amtape`
commands, they both provide useful functionality for general management
that doesn't involve actually running the backups, including:
* Forcing a level 0 or level 1 dump for any or all of the DLE's for the
next run. Don't get in the habit of doing this regularly, overriding
the planner will usually not get you good results.
* Forcing Amanda to bump to a new dump level for a given DLE. Again,
don't do this regularly.
* Querying when the next level 0 dump is due for a given DLE. This
gives you an upper limit on when the DLE will get a level 0 dump
assuming you stick to the schedule you told Amanda about.
* Querying details about all currently stored backups, including dates,
location, and dump status.
* Querying the state of all the tapes/vtapes Amanda is managing.