script execution with -E after slice finished
Clemens Ender <ender-ArvQUR6U0fYD0fefG/[email protected]> Wed, 17 Aug 2005 11:17:03 +0200
| Newsgroups | gmane.comp.sysutils.backup.dar.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm trying to do the following: Backup several slices to DVD-RAM discs, asking the user to change disks each time a slice (DVD-RAM) is full. However I don't want to prompt the user via the terminal, but rather send out an email. Once notified the user would change DVD-RAM discs, and confirm the "disk-change" via email or a web-interface or whatever. The catalogue-slice goes to harddisk by the way. Now I've choosen DAR, because it's a really nice backup-backend, and I saw the options -p and -E, and thought this is exactly what I need. Unfortunately not quite, as it seems. -p is only capable of prompting the user via command-line interface. remains -E, this actually works with some drawback. The script provided to this parameter is executed _after_ a slice is finished and there seems to be no way to tell the script, wether the slice finished because it's full (demanding another DVD-RAM disc) or wether is just finished because there is no more data to be written. I checked "%c" option, but always passed context "operation" to the -E-script. So I end up in a situation, where my -E-script is called after every slice, which then prompts me for a disc-change (currently in my testing-setup via email) even after the "last" slice, which actually doenst need any further disc, but just needs to write the catalogue-slice to harddisk. Too bad the current DAR-design offers 2 options to handle multi-slice DARs, but none (fully) works in my situation. Any ideas ? Thanks in advance, Clemens Ender ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf