On Wed, 23 Sep 2020 13:18:32 -0400 Nathan Stratton Treadway <natha...@ontko.com> wrote:
> On Wed, Sep 23, 2020 at 10:10:21 +0700, Olivier wrote: > > Does it exist a command that can be used to check whether amanda is > > busy or not? > > > > For example, do not launch the daily backup if the previous one is > > still running, or do not reboot Amanda server (network stability > > issue) if a backup is being done. > > I don't know of a straightforward Amanda-provided command to do > exactly this. (lots of excellent advice deleted.) For a script, you could probably get something useful with some variant on ps aux | grep amdump and examine the return value ( the variable $?). -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/