Re: Can a post-dle-backup script invalidate the backup?

Chapman Flack <[email protected]> Wed, 31 Jan 2018 15:18:57 -0500
Newsgroups gmane.comp.archivers.amanda.devel
Message-ID <[email protected]>
On 01/31/2018 03:09 PM, Jean-Louis Martineau wrote:

> I propose to change the execution order to:
> 
>   sendbackup run pre-script
>   application do the backup
>   application ask server if the backup is correctly saved (on holding disk or tape)
>   sendbackup run post-dle-script
>   sendbackup send post-dle-script result to application
>   application save the state file if the backup is saved on server and post-dle-script succeeded
>   application send its state SUCCESS, PARTIAL, FAIL to server
>   server log backup result

So is the application just blocked reading for the reply from
sendbackup, while sendbackup forks another process for the post
script, and then the application gets the reply from sendbackup?

That sounds pretty good, not a lot of change from the viewpoint
of the application.

-Chap