Feature request : being able to launch a command before starting the backup process

Asked by Nicolas Michel on 2010-07-19


I want having the possibility to configure a command or a script to launch before the launch of the backup process.
Why I'm asking that? Here is my case :

- I make my backups on a samba share, mounted with gvfs.
- that share is not mounted automatically but only when I want to access it via Nautillus

-> if the share is not mounted, backintime can't make the backup.

-> I'd want to execute the command gvfs-mount "share_name" before the backup process

It would be great if the user can also define a timeout for the script execution (with a default value) -> if the script crash or hang, we don't make backintime hanging.

Thank you,

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: backintime-gnome 0.9.26-3ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic
Uname: Linux 2.6.32-23-generic x86_64
Architecture: amd64
Date: Mon Jul 19 11:44:11 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitecture: all
SourcePackage: backintime

Question information

English Edit question
Back In Time Edit question
No assignee Edit question
Last query:
Last reply:
Dan (danleweb) said : #2

The script you want is called "user.callback". Run:
   man backintime
for more informations.

In the next version (1.0, beta: this callback is renamed to "user-callback" (to add support for profiles).

Not a bug; setting invalid and converting into question.

Question answered (see user.callback in backintime(1))

Ok. Backintime have the feature I wanted to. But I think you should reopen this as a wish feature because it should be implemented in the GUI in my opinion.

Dan (danleweb) said : #6

For this you have to open a bug (wishlist).

Can you help with this problem?

Provide an answer of your own, or ask Nicolas Michel for more information if necessary.

To post a message you must log in.