← Back to team overview

nssbackup-team team mailing list archive

[Bug 675644] [NEW] Error in stream protocol: End of stream

 

Public bug reported:

0.11.3ppa1~lucid1 on ubuntu 10.04 amd64

i have upgraded sbackup on a few machines to the PPA version, and it has
been working fine.  this machine is in a remote location, though, and is
sending the backup over SSH.  this worked fine in the previous version
(0.10.5ubuntu2.1).

access to the backup location is through ssh using keypair without
passphrase, to make logging in simple.  in the sbackup config GUI, it
can access fine the backup location.

from some of other bug reports, i made sure gvfs-fuse is installed.

i run sbackup through a (root) cron job that creates LVM snapshots to
backup:

lvcreate -L450M -s -n backup /dev/throne/root
mount /dev/throne/backup /mnt/backup
/usr/bin/sbackup --config-file=/etc/sbackup.conf
umount /mnt/backup
echo y|lvremove /dev/throne/backup


sbackup.conf:

[exclude]
regex = 
maxsize = 0

[dirconfig]
/proc/ = 0
/sys/ = 0
/mnt/backup/ = 1
/var/cache/ = 0
/dev/ = 0
/var/tmp/ = 0

[log]
file = /var/log/sbackup/sbackup.log
level = 20

[places]
prefix = /usr

[general]
splitsize = 0
target = ssh://scar@den/mnt/autofs/backups/throne
format = gzip
purge = log
maxincrement = 30
lockfile = /var/lock/sbackup.lock


here is output from /var/log/sbackup:

SBackup 'Default Profile' Logger

==============

2010-11-15 09:40:04,258 - INFO: Log output for [Default Profile] is directed to file '/var/log/sbackup/sbackup.2010-11-15_09.40.04.257225.log'.
2010-11-15 09:40:04,259 - INFO: Profile settings are being read from file '/etc/sbackup.conf'.
2010-11-15 09:40:04,268 - INFO: Preparation of backup process
2010-11-15 09:40:04,269 - INFO: Initializing GIO File Access Manager.
2010-11-15 09:40:05,343 - INFO: Backup destination: ssh://scar@den/mnt/autofs/backups/throne
2010-11-15 09:40:05,382 - INFO: Perform tests at specified location
2010-11-15 09:40:06,359 - INFO: Checking for snapshots stored in old formats
2010-11-15 09:40:06,907 - INFO: Snapshot '2010-11-15_09.40.06.644894.throne.ful' is being made.
2010-11-15 09:40:06,908 - INFO: Setting packages File.
2010-11-15 09:40:06,981 - INFO: Setting Excludes File.
2010-11-15 09:40:06,982 - INFO: Setting compression format to `gzip`
2010-11-15 09:40:06,982 - INFO: Option 'Follow symbolic links' is disabled.
2010-11-15 09:40:06,982 - INFO: Inspect file system and collect file infos
2010-11-15 09:40:06,983 - WARNING: Empty regular expression found. Skipped.
2010-11-15 09:40:07,021 - WARNING: File '/mnt/backup/vmlinuz' cannot be opened for read access with error '[Errno 2] No such file or directory: '/mnt/backup/vmlinuz''.
2010-11-15 09:40:07,022 - WARNING: File '/mnt/backup/vmlinuz.old' cannot be opened for read access with error '[Errno 2] No such file or directory: '/mnt/backup/vmlinuz.old''.
2010-11-15 09:40:07,047 - WARNING: File '/mnt/backup/initrd.img' cannot be opened for read access with error '[Errno 2] No such file or directory: '/mnt/backup/initrd.img''.
2010-11-15 09:40:07,072 - WARNING: File '/mnt/backup/initrd.img.old' cannot be opened for read access with error '[Errno 2] No such file or directory: '/mnt/backup/initrd.img.old''.
2010-11-15 09:40:07,099 - WARNING: File '/mnt/backup/dev/rmidi3' cannot be opened for read access with error '[Errno 6] No such device or address: '/mnt/backup/dev/rmidi3''.
2010-11-15 09:40:07,112 - WARNING: File '/mnt/backup/dev/midi03' cannot be opened for read access with error '[Errno 19] No such device: '/mnt/backup/dev/midi03''.
[a ton more warnings like this...]

2010-11-15 09:42:05,606 - WARNING: Error in `query_fs_info`: Operation not supported by backend [ERROR_NOT_SUPPORTED - Operation not supported for the current backend.]
2010-11-15 09:42:05,607 - INFO: Summary of backup
2010-11-15 09:42:05,608 - INFO: Number of directories: 21015.
2010-11-15 09:42:05,609 - INFO: Total number of files: 175100.
2010-11-15 09:42:05,609 - INFO: Number of symlinks: 26209.
2010-11-15 09:42:05,610 - INFO: Number of files included in snapshot: 175100.
2010-11-15 09:42:05,611 - INFO: Number of new files (also included): 0.
2010-11-15 09:42:05,612 - INFO: Number of files skipped in incremental snapshot: 0.
2010-11-15 09:42:05,613 - INFO: Number of items forced to be excluded: 9634.
2010-11-15 09:42:05,613 - INFO: Number of items to be excluded by config: 0.
2010-11-15 09:42:05,614 - INFO: Maximum free size required is '6995 MiB 371 KiB 671'.
2010-11-15 09:42:05,614 - WARNING: Unable to query available space on target: Operation not supported
2010-11-15 09:42:05,615 - INFO: Snapshot is being committed
2010-11-15 09:42:09,664 - ERROR: An error occurred during the backup: Error in stream protocol: End of stream
2010-11-15 09:42:09,699 - ERROR: Uncaught exception: The specified location is not mounted
2010-11-15 09:42:09,699 - ERROR: Traceback (most recent call last):
  File "/usr/bin/sbackup", line 42, in <module>
    retc = main(sys.argv)
  File "/usr/share/sbackup/sbackup/backupproc.py", line 586, in main
    exitcode = sbackup_app.run()
  File "/usr/share/sbackup/sbackup/backupproc.py", line 566, in run
    self.__exitcode = self.__backupproc.run()
  File "/usr/share/sbackup/sbackup/backupproc.py", line 288, in run
    self.__on_backup_error(error)
  File "/usr/share/sbackup/sbackup/backupproc.py", line 311, in __on_backup_error
    self.__exitcode = self.__bprofilehdl.finish(error)
  File "/usr/share/sbackup/sbackup/core/profile_handler.py", line 315, in finish
    self.__copylogfile()
  File "/usr/share/sbackup/sbackup/core/profile_handler.py", line 286, in __copylogfile
    _op.copyfile(logf_src, logf_target)
  File "/usr/share/sbackup/sbackup/fs_backend/_gio_utils.py", line 472, in copyfile
    _src, _dest = cls._prepare_copy(_src, _dest)
  File "/usr/share/sbackup/sbackup/fs_backend/_gio_utils.py", line 500, in _prepare_copy
    if cls.__isdir(dst_gfile):
  File "/usr/share/sbackup/sbackup/fs_backend/_gio_utils.py", line 651, in __isdir
    _ftype = cls._query_file_type(gfile)
  File "/usr/share/sbackup/sbackup/fs_backend/_gio_utils.py", line 670, in _query_file_type
    cancellable = None)
Error: The specified location is not mounted

** Affects: sbackup
     Importance: Undecided
         Status: New

-- 
Error in stream protocol: End of stream
https://bugs.launchpad.net/bugs/675644
You received this bug notification because you are a member of Simple
Backup Maintainers, which is subscribed to Simple Backup.



Follow ups

References