Re: Can a post-dle-backup script invalidate the backup?
Jean-Louis Martineau <[email protected]> Wed, 31 Jan 2018 20:53:22 +0000
| Newsgroups | gmane.comp.archivers.amanda.devel |
|---|---|
| Message-ID | <CY4PR06MB33989AA9F9F1E022C5C744CBC8FB0@CY4PR06MB3398.namprd06.prod.outlook.com> |
Yes, the application wait to read the reply from sendbackup Jean-Louis ________________________________________ From: Chapman Flack <[email protected]> Sent: January 31, 2018 3:18:57 PM To: Jean-Louis Martineau; Amanda Hackers Subject: Re: Can a post-dle-backup script invalidate the backup? 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 This message is the property of CARBONITE, INC. and may contain confidential or privileged information. If this message has been delivered to you by mistake, then do not copy or deliver this message to anyone. Instead, destroy it and notify me by reply e-mail