Scheduled backup without user logged in
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/
2014-08-06 14:17:03,630 - INFO: Le impostazioni del profilo vengono lette dal file «/etc/sbackup.
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_
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/
self.
File "/usr/share/
raise exceptions.
FileAccessExcep
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
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!