[lbackup-discussion] Post Action Script Issues

Michael Williams reply to this message via the mailing list
Wed Jul 10 17:50:09 NZST 2013


Hi Guys,

For some reason we've having issues with one of our post actions scripts, to eject the external drive, on a machine. Lbackup reports in the log that it's run the script, but the drive isn't ejected.

The script is as follows:

#!/bin/bash
PATH=/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
diskutil eject /Volumes/Backup

When I run the script manually it works as expected. Our backup script is called by LaunchD which may be the problem, however we do have other sites calling the script by LaunchD without issues.

Does anyone have any idea what's going on?

Thanks,

Michael



More information about the lbackup-discussion mailing list