I’m a huge fan of Simple Backup for many reasons (simple personal backup configuration, settings profile, etc…).

The last Ubuntu version, Oneiric Ocelot, contains a bug preventing SBackup from running from a system wide cron-job and storing the backup data on remote drive.

If you have this problem, from the logs, you can find something like this:

ERROR: Traceback (most recent call last):
File "/usr/share/sbackup/sbackup/fs_backend/_gio_utils.py", line 372, in _mount_done_cb
File "/usr/share/sbackup/sbackup/fs_backend/_gio_fam.py", line 157, in _mount_cb
raise exceptions.FileAccessException("Unable to mount: %s" % error)
FileAccessException: Unable to mount: volume doesn't implement mount

I have fixed this (well… it’s a workaround…) adding the SBackup executable to sudoers and running the backup task from my personal cron-job.

To do this you have to:

  1. run “sudo visudo
  2. add to the bottom of the file this:
    Cmnd_Alias SBACKUP_CMDS = /usr/bin/sbackup
  3. replace USERNAME with your actual username (eg John)
  4. save and quit the editor with CTRL-X
  5. run “crontab -e
  6. add to the bottom of the file this:
    00      */3     *       *       *       /usr/bin/sudo /usr/bin/sbackup
  7. take a cup of coffee 🙂

Now, every 3 hours your backup is running with root privileges and over the network. Feel free to change the cron-job as you wish! 🙂


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *