Hello, I use backuppc 3.1.0-4lenny1 (Debian). I have a bash script, run as DumpPreShareCmd, which should return 0 or 1. Unfortunately BackupPC didn't receive the return codes from my script.
For test I have made a script which contains only two lines: #! /bin/bash exit 0 The __LOGDIR__/LOG contains: 2009-07-11 13:17:09 User backuppc requested backup of firewall (firewall) 2009-07-11 13:17:09 Backup failed on firewall (DumpPreShareCmd returned error status 65280) 2009-07-11 13:17:30 User backuppc requested backup of vhost (vhost) 2009-07-11 13:17:30 Started incr backup on vhost (pid=24614, share=/) And the opposite script: #! /bin/bash exit 1 The __LOGDIR__/LOG contains: 2009-07-11 13:24:16 User backuppc requested backup of firewall (firewall) 2009-07-11 13:24:16 Backup failed on firewall (DumpPreUserCmd returned error status 256) 2009-07-11 13:24:21 User backuppc requested backup of vhost (vhost) 2009-07-11 13:24:21 Backup failed on vhost (DumpPreUserCmd returned error status 256) Very curios for me :-( Thanks for any hint Matthias -- Don't Panic ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
