Folder does not exist - ftp timeout

Bug #603876 reported by EricDHH
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nssbackup
Invalid
Undecided
Unassigned

Bug Description

A bug that happened when the ftp has a forced timeout, the dns323 give 5-10 minutes to connections. If nssbackup do other things than using the link after test button, the backup fails after the timeout. I switched the timeout from 5 up to 10 but in full backup situations this is not enough. I watched the lan with the status panel, there is no transfer for minutes but heavy tar and gzip activity.

nssbackup 0.2.1ppa1~luci
2.6.32-24-generic
Description: Ubuntu 10.04.1 LTS
Release: 10.04

Revision history for this message
EricDHH (ericdhh) wrote :
Download full text (3.5 KiB)

Found a nice logfile that shows the problem.

nssbackup goes into the backup folder and visit older backups there.

NSSBackup 'Default Profile' Logger

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

2010-07-09 19:57:36,409 - WARNING: Ungültige Sicherung '2010-06-18_18.30.23.829089.agamemnon.corrupt' gefunden, fehlerhaftes Namensformat: Name der Sicherung ist ungültig: False
2010-07-09 19:57:36,728 - WARNING: Ungültige Sicherung '2010-07-09_19.35.21.058745.agamemnon.inc' gefunden, wird entfernt: Die notwendige Datei 'ver' existiert nicht in [2010-07-09_19.35.21.058745.agamemnon.inc].
2010-07-09 19:57:37,079 - WARNING: Es wurden Sicherungen in veralteten Formatversionen gefunden. Bitte aktualisiere diese Sicherungen mit '(Not So) Simple Backup-Wiederherstellung' um sie zu verwenden.

Lots of scary errors later, seems root cannot read all files. We see a 15min hole where the ftp cancels the connection.

2010-07-09 19:59:01,675 - WARNING: Datei '/etc/apparmor.d/disable/usr.bin.firefox-3.5' kann nicht zum Lesen geöffnet werden. Fehler '[Errno 2] No such file or directory: '/etc/apparmor.d/disable/usr.bin.firefox-3.5''.
2010-07-09 20:14:49,727 - ERROR: Während der Sicherung ist ein Fehler aufgetreten:
Given copy destination '/mnt/nssbackup/ftp_backup@192.168.1.250/agamemnon/2010-07-09_19.57.37.556911.agamemnon.inc' does not exist.
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/nssbackup/nssbackupd.py", line 218, in run
    self.__bm.makeBackup()
  File "/usr/lib/python2.6/dist-packages/nssbackup/managers/BackupManager.py", line 374, in makeBackup
    self.__actualSnapshot.commit()
  File "/usr/lib/python2.6/dist-packages/nssbackup/util/Snapshot.py", line 393, in commit
    self.__makebackup()
  File "/usr/lib/python2.6/dist-packages/nssbackup/util/Snapshot.py", line 620, in __makebackup
    TAR.makeTarIncBackup(self)
  File "/usr/lib/python2.6/dist-packages/nssbackup/util/tar.py", line 311, in makeTarIncBackup
    Util.nssb_copy( tmp_snarfile, snarfile )
  File "/usr/lib/python2.6/dist-packages/nssbackup/util/__init__.py", line 140, in nssb_copy
    prep_src, prep_dst = _prepare_nssb_copy(src, dst)
  File "/usr/lib/python2.6/dist-packages/nssbackup/util/__init__.py", line 189, in _prepare_nssb_copy
    raise IOError("Given copy destination '%s' does not exist." % _dst_dir)
IOError: Given copy destination '/mnt/nssbackup/ftp_backup@192.168.1.250/agamemnon/2010-07-09_19.57.37.556911.agamemnon.inc' does not exist.
2010-07-09 20:14:49,752 - ERROR: Exception in error handling code:
Given copy destination '/mnt/nssbackup/ftp_backup@192.168.1.250/agamemnon/2010-07-09_19.57.37.556911.agamemnon.inc' does not exist.
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/nssbackup/nssbackupd.py", line 250, in __onError
    self.__bm.endSBsession()
  File "/usr/lib/python2.6/dist-packages/nssbackup/managers/BackupManager.py", line 489, in endSBsession
    self.__copylogfile()
  File "/usr/lib/python2.6/dist-packages/nssbackup/managers/BackupManager.py", line 470, in __copylogfile
    Util.nssb_copy(logf_src, logf_target)
  File "/usr/lib/python2.6/dist-packages/nssbackup/util/__init__.py", line 140, in nssb_copy
    prep_src, prep_dst = _p...

Read more...

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

Please use latest version of sbackup (https://launchpad.net/sbackup) and feel free to file a new bug if this bug is still valid. Thank you.

Changed in nssbackup:
status: New → Invalid
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.