Scheduled backup without user logged in

Bug #1353468 reported by Michele
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sbackup (Ubuntu)
New
Undecided
Unassigned

Bug Description

I set up sbackup 0.11.6 on Ubuntu Server 12.04 LTS.
I scheduled (as administrator) one backup of one directory via ftp.
I did a first full backup from user interface and i waited for next incremental backup after one hour (i scheduled an hourly backup)
After one hour i got this log error:

SBackup 'Profilo predefinito' Logger
==============
2014-08-06 14:17:03,628 - INFO: Output del registro di [Profilo predefinito] inviato al file «/var/log/sbackup/sbackup.2014-08-06_14.17.03.627153.log».
2014-08-06 14:17:03,630 - INFO: Le impostazioni del profilo vengono lette dal file «/etc/sbackup.conf».
2014-08-06 14:17:03,638 - INFO: Preparazione del processo di backup
2014-08-06 14:17:03,640 - INFO: Inizializzazione del gestore di accesso ai file GIO.
2014-08-06 14:17:03,644 - ERROR: Error in `_do_mount`: volume doesn't implement mount [ERROR_NOT_SUPPORTED - Operation not supported for the current backend.]
2014-08-06 14:17:03,645 - ERROR: Uncaught exception: Unable to mount: volume doesn't implement mount
2014-08-06 14:17:03,646 - ERROR: Traceback (most recent call last):
  File "/usr/share/sbackup/sbackup/fs_backend/_gio_utils.py", line 371, in _mount_done_cb
    self.__mount_finish_callback(error)
  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

2014-08-06 14:17:03,647 - ERROR: Si è verificato un errore durante il backup: File access manager not initialized
2014-08-06 14:17:03,662 - WARNING: Impossibile copiare il registro. L'accesso al file non è inizializzato.
2014-08-06 14:17:03,663 - INFO: Chiusura del gestore di accesso ai file GIO.
2014-08-06 14:17:03,663 - WARNING: GIO File Access Manager is not initialized. Nothing to do.
2014-08-06 14:17:03,664 - INFO: Elaborazione del profile non riuscita con errore: File access manager not initialized

Using sbackup via ftp as user works perfectly, but when i disconnect user backup start with errors.
Is it a bug?
Thanks

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Thank you for using sbackup and reporting this issue.

It is a "kind-of" bug: sbackup uses GIO/GVFS as default backend to access remote location e.g. over FTP. The gvfs-daemon, in turn, is started via Dbus on user login, so it is not running without user session. For reference see http://ubuntuforums.org/showthread.php?t=1924017 Gvfs exports dbus services and thus should be actually started by dbus (see http://superuser.com/questions/228261/how-to-properly-start-gvfs-without-gnome)

As a workaround I suggest to use the FUSE backend implemented in sbackup. Please follow the instructions at https://answers.launchpad.net/sbackup/+faq/1326 to enable the FUSE backend.

HTH!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.