How do I use and where is user.callback?

Asked by Constantine H.

In the following thread, https://answers.launchpad.net/backintime/+question/67557 , there is mention of a file user.callback which can be used to call user applications during the "take a snapshot" process.

Is there any information available on how to actually go about doing that? The file doesn't exist in ~/.config/backintime/user.callback, where the other thread indicated it would be.

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Solved by:
Inno
Solved:
Last query:
Last reply:
Revision history for this message
Best Inno (minnoit) said :
#1

Look at http://backintime.le-web.org/documentation/usercallback/

I create ~/.config/backintime/user.callback and put that script for my usb backups (testing):

#!/bin/sh
case "$1" in
#Backup process begins.
1) ;;
#Backup process ends
2) sync ;;
esac

The script must be executable.

Revision history for this message
Constantine H. (constantine-hatzis) said :
#2

Well that was embarrassing for me. I spent all that time looking through the questions and completely ovelooked the documentation section or even the man page. They should take away my Linux privileges for that.

Thank you for putting up with a stupid question.

Revision history for this message
Constantine H. (constantine-hatzis) said :
#3

Thanks Inno, that solved my question.