Eclipse project now.

This commit is contained in:
2017-11-12 17:28:39 +01:00
parent 8ff7321a17
commit 7b17b52e33
13 changed files with 848 additions and 4 deletions

View File

@@ -6,12 +6,12 @@ DIR=/etc/duply
for I in ${DIR}/lenny*; do
BCKP=$(basename $I)
notify-send -c Backup -a duply ${BCKP} "Starting Backup..."
duply $BCKP pre_incr_post 2&>1 >/var/log/backup-${BCKP}.log;
/usr/bin/notify-send -c Backup -a duply ${BCKP} "Starting Backup..."
/usr/bin/duply $BCKP pre_incr_post 2&>1 >/var/log/backup-${BCKP}.log;
FIN=$?
if [ $FIN -eq 0 ]; then
notify-send -c Backup -a duply ${BCKP} "Backup success."
/usr/bin/notify-send -c Backup -a duply ${BCKP} "Backup success."
else
notify-send -u critical -c Backup -a duply ${BCKP} "Done Backup Error: ${FIN}"
/usr/bin/notify-send -u critical -c Backup -a duply ${BCKP} "Done Backup Error: ${FIN}"
fi
done