Amanda-Users

Re: How can I execute pre-job and post-job tasks?

2003-02-23 13:57:26
Subject: Re: How can I execute pre-job and post-job tasks?
From: Kirk Strauser <kirk AT strauser DOT com>
To: amanda-users AT amanda DOT org
Date: Sun, 23 Feb 2003 11:40:15 -0600
At 2003-02-23T09:52:27Z, "Gregor Ibic" <gregor.ibic AT intelicom DOT si> writes:

> I want to stop some service,...

Write a short script:

    #!/bin/sh
    echo "Amanda pre-run commands"
    command1
    command2
    ...

    echo "Dumping filesystems"
    amdump Confname

    echo "Amanda post-run commands"
    command1
    command2
    ...

and run that instead of amdump.    
-- 
Kirk Strauser
In Googlis non est, ergo non est.

Attachment: pgpBEfg19lcdV.pgp
Description: PGP signature

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