Ability to run a command before / after backup.
Asked by
Plutocrat
Hi.
It would be great to be able to run a command before / after backup as part of the expert options.
In my case, I'd like to use it to mount a drive.
I understand that I could write a script to do this.
# pseudo_script.sh
mount /drive
nice -n 19 /usr/bin/backintime --backup-job >/dev/null 2>&1
umount /drive
and then add an entry to run pseudo_script.sh in my crontab.
But then that causes problems as when I edit the preferences in Back In Time, I get an entry for pseudo_script.sh PLUS the @daily entry for backintime
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Dan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.