For further information, see the backintime <https://github.com/bit-team/backintime>
repository and its issue tracker <https://github.com/bit-team/backintime/issues>
.
During the backup process, Back In Time <https://github.com/bit-team/backintime>
_ can call a user-callback script at different steps.
This user-callback script is contained in the file $XDG_CONFIG_HOME/backintime/user-callback
(by default $XDG_CONFIG_HOME
is ~/.config
).
Backup process begins.
Backup process ends.
A new snapshot was taken. The extra arguments are snapshot ID and snapshot path.
There was an error. The fourth argument is the error code.
Possible error codes are:
The optional fifth argument just for errors is the error message.
On (graphical) App start.
On (graphical) App close.
Mount all necessary drives.
Unmount all drives.
For implementation details see the source code in the file pluginmanager.py]
(https://github.com/bit-team/backintime/blob/dev/common/pluginmanager.py).