nssbackup-team team mailing list archive
-
nssbackup-team team
-
Mailing list archive
-
Message #01266
[Bug 599870] Re: Wont backup to d-link nas, mount problem
Found the same bug on my laptop.
Agamemnon is the folder for the desktop, ftp root shows up the 3
folders. At login i get this ftp root from the d-link. When using
nautilus for share i can open and delete folders and files. The
nssbackup test creates a "test" file right in place, i looked with
second computer in the folder.
eric@calliope:~$ ftp 192.168.1.250
Connected to 192.168.1.250.
220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 1 of 10 allowed.
220-Local time is now 12:20. Server port: 21.
220-This server supports FXP transfers
220 You will be disconnected after 5 minutes of inactivity.
Name (192.168.1.250:eric): backup
331 User backup OK. Password required
Password:
230 OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful
150 Connecting to port 34749
drwxr-x--- 20 backup 703 4096 Jun 30 12:13 agamemnon
drwxr-x--- 3 backup 703 4096 Jun 30 08:24 artemis
drwxrwxrwx 16 501 501 4096 Jun 30 12:14 calliope
226-Options: -l
226 3 matches total
ftp> cd agamemnon
250 OK. Current directory is /agamemnon
ftp> mkdir backuper
257 "backuper" : The directory was successfully created
ftp> rmdir backuper
250 The directory was successfully removed
ftp> exit
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.
Permission is full when using the right user:password pair.
Tryed both, startet nssbackup-config-gui from terminal and from the
gnome addons menu.
The feedback applet in the gnome-panel displays the nssbackup dialogues.
Configuration from menu asks forced for su priviledges, From terminal i
testet "su nssbackup-config-gui" above and now with user only. Test
works already well, but the backup failed.
2010-06-30 13:28:31,448 - INFO: Sicherungsvorgang wird gestartet.
2010-06-30 13:28:31,450 - INFO: Initialisierung des FUSE File Access Manager.
2010-06-30 13:28:31,628 - ERROR: Ziel ist nicht beschreibbar: [Errno 2] No such file or directory: '/home/eric/.local/share/nssbackup/mountdir/ftp_backup@192.168.1.250/calliope/test'
2010-06-30 13:28:31,631 - ERROR: Während der Sicherung ist ein Fehler aufgetreten:
[Errno 2] No such file or directory: '/home/eric/.local/share/nssbackup/mountdir/ftp_backup@192.168.1.250/calliope/test'
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 288, in makeBackup
self.__checkTarget()
File "/usr/lib/python2.6/dist-packages/nssbackup/managers/BackupManager.py", line 513, in __checkTarget
raise e
IOError: [Errno 2] No such file or directory: '/home/eric/.local/share/nssbackup/mountdir/ftp_backup@192.168.1.250/calliope/test'
2010-06-30 13:28:31,690 - WARNING: Keine Sicherung vorhanden um das Log zu kopieren.
2010-06-30 13:28:31,691 - INFO: Beendigung des FUSE File Access Manager.
2010-06-30 13:28:31,692 - WARNING: Couldn't unmount /home/eric/.local/share/nssbackup/mountdir/ftp_backup@192.168.1.250
2010-06-30 13:28:31,693 - INFO: Bearbeitung des Profils ist beendet.
Here comes the urgent lines from the log, i dunno nssbackup use
different user:pass for test and backup or fuse cause trouble here.
Nssbackup do see the old sbackup files in there, but will not write the
new to this place.
2010-06-30 13:35:19,692 - INFO: Maximal benötigter freier Speicherplatz ist '180
2 MiB 878 KiB 454'.
2010-06-30 13:35:19,695 - INFO: Verfügbarer Speicherplatz ist '7812499 MiB 1016
KiB 0'.
2010-06-30 13:35:19,697 - INFO: Anzahl von Verzeichnissen: 4085.
2010-06-30 13:35:19,699 - INFO: Anzahl symbolischer Verknüpfungen: 4471.
2010-06-30 13:35:19,701 - INFO: Gesamtanzahl von Dateien: 24900.
2010-06-30 13:35:19,705 - INFO: Anzahl der in diesen Schnappschuss eingeschlosse
nen Dateien: 24900.
2010-06-30 13:35:19,708 - INFO: Anzahl neuer Dateien (ebenfalls eingeschlossen):
0.
2010-06-30 13:35:19,711 - INFO: Anzahl übersprungener Dateien in diesem inkremen
tellen Schnappschuss: 0.
2010-06-30 13:35:19,713 - INFO: Anzahl von Elementen, die ausgeschlossen werden
mussten: 20.
2010-06-30 13:35:19,717 - INFO: Anzahl von Elementen, die auf Grund von Benutzer
einstellungen ausgeschlossen wurden: 254.
2010-06-30 13:35:19,834 - ERROR: Während der Sicherung ist ein Fehler aufgetrete
n:
[Errno 2] No such file or directory: '/mnt/nssbackup/ftp_backup@192.168.1.250/ca
lliope/2010-06-30_13.34.59.840385.calliope.ful/format'
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", l
ine 374, in makeBackup
self.__actualSnapshot.commit()
File "/usr/lib/python2.6/dist-packages/nssbackup/util/Snapshot.py", line 389,
in commit
self.commitFormatfile()
File "/usr/lib/python2.6/dist-packages/nssbackup/util/Snapshot.py", line 529,
in commitFormatfile
FAM.writetofile(self.getPath()+os.sep+"format", formatInfos)
File "/usr/lib/python2.6/dist-packages/nssbackup/managers/FileAccessManager.py
", line 309, in writetofile
fobj = openfile(File, write=True)
File "/usr/lib/python2.6/dist-packages/nssbackup/managers/FileAccessManager.py
", line 255, in openfile
return open( uri, "w" )
IOError: [Errno 2] No such file or directory: '/mnt/nssbackup/ftp_backup@192.168
.1.250/calliope/2010-06-30_13.34.59.840385.calliope.ful/format'
2010-06-30 13:35:20,012 - ERROR: Exception in error handling code:
[Errno 2] No such file or directory: '/mnt/nssbackup/ftp_backup@192.168.1.250/ca
lliope/2010-06-30_13.34.59.840385.calliope.ful/nssbackup.2010-06-30_13.34.58.567
753.log'
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", l
ine 489, in endSBsession
self.__copylogfile()
File "/usr/lib/python2.6/dist-packages/nssbackup/managers/BackupManager.py", l
ine 470, in __copylogfile
Util.nssb_copy(logf_src, logf_target)
File "/usr/lib/python2.6/dist-packages/nssbackup/util/__init__.py", line 141,
in nssb_copy
shutil.copyfile(prep_src, prep_dst)
File "/usr/lib/python2.6/shutil.py", line 53, in copyfile
fdst = open(dst, 'wb')
IOError: [Errno 2] No such file or directory: '/mnt/nssbackup/ftp_backup@192.168
.1.250/calliope/2010-06-30_13.34.59.840385.calliope.ful/nssbackup.2010-06-30_13.
34.58.567753.log'
2010-06-30 13:35:20,028 - ERROR: Error when sending email:
[Errno 111] Connection refused
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/nssbackup/nssbackupd.py", line 262, in
__onFinish
self.__sendEmail()
File "/usr/lib/python2.6/dist-packages/nssbackup/nssbackupd.py", line 147, in
__sendEmail
server.connect(self.__bm.config.get("report","smtpserver"))
File "/usr/lib/python2.6/smtplib.py", line 295, in connect
self.sock = self._get_socket(host, port, self.timeout)
File "/usr/lib/python2.6/smtplib.py", line 273, in _get_socket
return socket.create_connection((port, host), timeout)
File "/usr/lib/python2.6/socket.py", line 514, in create_connection
raise error, msg
error: [Errno 111] Connection refused
Will add another comment for the debug attach.
** Attachment added: "used config for these problem"
http://launchpadlibrarian.net/51167127/nssbackup.conf
--
Wont backup to d-link nas, mount problem
https://bugs.launchpad.net/bugs/599870
You received this bug notification because you are a member of NSsbackup
team, which is subscribed to NSsbackup.
References