Hi Guys
When I use $Conf{DumpPostUserCmd} to execute the following script backuppc
does not know that the script is finished running and so backuppc continues
to think the backup has not finished and eventually times out as a failed
backup.
Line from config.pl
$Conf{DumpPostUserCmd} = '$sshPath -q -x -l root $host
/backup/scripts/alfrescostart.sh';
Script I'm running - alfrescostart.sh
#!/bin/bash
# This script starts up alfresco after a cold backup by backuppc
/etc/init.d/alfresco start
echo "ALFRESCO HAS STARTED"
exit 0
Can any one tell me why this backuppc does not know when this script is
finished? Alfresco does take about 15sec to finish executing the init.d
script
Thanks
Mark
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
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/