Folder does not exist - ftp timeout
Bug #603876 reported by
EricDHH
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
To post a comment you must log in.
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 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]. Wiederherstellu ng' um sie zu verwenden.
2010-07-09 19:57:36,728 - WARNING: Ungültige Sicherung '2010-07-
2010-07-09 19:57:37,079 - WARNING: Es wurden Sicherungen in veralteten Formatversionen gefunden. Bitte aktualisiere diese Sicherungen mit '(Not So) Simple Backup-
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''. /ftp_backup@ 192.168. 1.250/agamemnon /2010-07- 09_19.57. 37.556911. agamemnon. inc' does not exist. python2. 6/dist- packages/ nssbackup/ nssbackupd. py", line 218, in run __bm.makeBackup () python2. 6/dist- packages/ nssbackup/ managers/ BackupManager. py", line 374, in makeBackup __actualSnapsho t.commit( ) python2. 6/dist- packages/ nssbackup/ util/Snapshot. py", line 393, in commit __makebackup( ) python2. 6/dist- packages/ nssbackup/ util/Snapshot. py", line 620, in __makebackup makeTarIncBacku p(self) python2. 6/dist- packages/ nssbackup/ util/tar. py", line 311, in makeTarIncBackup python2. 6/dist- packages/ nssbackup/ util/__ init__. py", line 140, in nssb_copy nssb_copy( src, dst) python2. 6/dist- packages/ nssbackup/ util/__ init__. py", line 189, in _prepare_nssb_copy /ftp_backup@ 192.168. 1.250/agamemnon /2010-07- 09_19.57. 37.556911. agamemnon. inc' does not exist. /ftp_backup@ 192.168. 1.250/agamemnon /2010-07- 09_19.57. 37.556911. agamemnon. inc' does not exist. python2. 6/dist- packages/ nssbackup/ nssbackupd. py", line 250, in __onError __bm.endSBsessi on() python2. 6/dist- packages/ nssbackup/ managers/ BackupManager. py", line 489, in endSBsession __copylogfile( ) python2. 6/dist- packages/ nssbackup/ managers/ BackupManager. py", line 470, in __copylogfile nssb_copy( logf_src, logf_target) python2. 6/dist- packages/ nssbackup/ util/__ init__. py", line 140, in nssb_copy
2010-07-09 20:14:49,727 - ERROR: Während der Sicherung ist ein Fehler aufgetreten:
Given copy destination '/mnt/nssbackup
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
TAR.
File "/usr/lib/
Util.nssb_copy( tmp_snarfile, snarfile )
File "/usr/lib/
prep_src, prep_dst = _prepare_
File "/usr/lib/
raise IOError("Given copy destination '%s' does not exist." % _dst_dir)
IOError: Given copy destination '/mnt/nssbackup
2010-07-09 20:14:49,752 - ERROR: Exception in error handling code:
Given copy destination '/mnt/nssbackup
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
Util.
File "/usr/lib/
prep_src, prep_dst = _p...