Craig Barratt wrote: > Matthias writes: > >> 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=/) > > Please look in the XferLOG.bad file to see the exact command > being run. Are you using an absolute path in DumpPreShareCmd? > Is your script executable? > > Also, I think the space after the '#!' is ok, but you might want to > remove that too, so instead of > > #! /bin/bash > > you might try this: > > #!/bin/bash > > Craig > *g*
If I would can read I had a benefit ;-) I use and test the DumpPreUserCmd and wonder about an error, reported by DumpPreShareCmd. Don't now why but I have had a wrong script as DumpPreShareCmd only within this one host. Now I am never confused. Looking for an course for reading. Any hints ;-) Thanks 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/
