← Back to team overview

nssbackup-team team mailing list archive

Re: [Question #234488]: lauching a task before backup

 

Question #234488 on sbackup changed:
https://answers.launchpad.net/sbackup/+question/234488

Jean-Peer Lorenz proposed the following answer:
In sbackup 0.11.5 and newer support for Pre/Post backup script hooks was
added:

  It is completely optional. To use it, please add following options to your configuration file:
  ...
  [hooks]
  pre-backup = <path to pre-backup script>
  post-backup = <path to pre-backup script>
  ...
  You only need to specify scripts that should run, just leave it out if not
  required! Please note, the script must be executable (chmod +x) and will be
  run with same privileges as your backup process. So, be careful!

-- 
You received this question notification because you are a member of
Simple Backup Maintainers, which is an answer contact for sbackup.