error reported running sudo nssbackupd

Asked by rogerw05465 on 2010-08-12

Hello. I hope you have an answer as to why the nssbackupd does not work for me.

Platform: Ubuntu 10.04.1
uname-a = Linux rogerw-acer 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:22:14 UTC 2010 i686 GNU/Linux
Patched up to last week
Acer laptop, Aspire 4810T, running Ubuntu without issue for 9 months

Here is the error info:

rogerw@rogerw-acer:~$ sudo nssbackupd
[sudo] password for rogerw:
2010-08-12 16:36:10,363 - INFO: Log output for [Default Profile] is directed to file '/var/log/nssbackup/nssbackup.2010-08-12_16.36.10.362937.log'.
2010-08-12 16:36:10,364 - INFO: Profile settings are being read from file '/etc/nssbackup.conf'.
2010-08-12 16:36:10,494 - INFO: Backup process is being started.
2010-08-12 16:36:10,495 - INFO: Initializing FUSE File Access Manager.
2010-08-12 16:36:10,601 - INFO: Checking need for upgrading in '/media/My Passport/Acer_backup'
2010-08-12 16:36:10,609 - ERROR: An error occured during the backup:
[Errno 5] Input/output error
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 298, in makeBackup
    "target"))
  File "/usr/lib/python2.6/dist-packages/nssbackup/managers/UpgradeManager.py", line 144, in need_upgrade
    if csnp.getVersion() != Infos.SNPCURVERSION:
  File "/usr/lib/python2.6/dist-packages/nssbackup/util/Snapshot.py", line 309, in getVersion
    ver = FAM.readfile(verfile)
  File "/usr/lib/python2.6/dist-packages/nssbackup/managers/FileAccessManager.py", line 298, in readfile
    value = f.read()
IOError: [Errno 5] Input/output error
2010-08-12 16:36:10,677 - WARNING: No snapshot to copy logfile.
2010-08-12 16:36:10,678 - INFO: Terminating FUSE File Access Manager.
2010-08-12 16:36:10,678 - INFO: Processing of profile is finished.
rogerw@rogerw-acer:~$

Here is the config file:

rogerw@rogerw-acer:~$ more /etc/nssbackup.conf
[log]
file = /var/log/nssbackup/nssbackup.log
level = 20

[places]
prefix = /usr

[schedule]
cron = 0 4 * * *

[dirconfig]
/media/ = 0
/var/run/ = 0
/var/cache/ = 0
/var/ = 1
/var/spool/ = 0
/home/rogerw/ = 1
/var/tmp/ = 0
/openxenmanager/ = 1
/usr/local/ = 1
/etc/ = 1

[general]
splitsize = 0
target = /media/My Passport/Acer_backup
format = gzip
mountdir = /mnt/nssbackup
followlinks = 0
purge = 30
maxincrement = 7
lockfile = /var/lock/nssbackup.lock

[report]
from = NSsbackup Daemon <email address hidden>
to = <email address hidden>
smtppassword = thisisit
smtpuser = <email address hidden>
smtpport = 2025
smtpserver = us2.blzservices.com

[exclude]
regex = \.mp3$,\.avi$,\.mpeg$,\.mkv$,\.ogg$,\.iso$,/home/[^/]+?/\.gvfs/,/home/[^/]+?/\.thumbnails/,/home/[^/]+?/\..+/[tT]rash/,/home
/[^/]+?/\..+/[cC]ache/,~$
maxsize = 0

I get no addition to the backup device, an external 360GB USB drive.

Thanks

Roger Williams

Jean-Peer, I installed 0.3.1, and re-ran the setup and backup. Better, and not the same errors, but got "File too large" arguments. On my system, under the Config/ General tab, the ability to split files is unavailable unless I use no compression, and I can understand why.

Anyway, I finally understood the problem to be that the WD USB drive, being FAT32, couldn't take the single tarball. I reformatted the drive to ext3 and it ran perfectly. This does present me an overall problem, as the drive now cannot be used on Windows and other systems. But I will live with that; it my choice now, not a system problem.

Roger

Question information

Language:
English Edit question
Status:
Solved
For:
nssbackup Edit question
Assignee:
No assignee Edit question
Last query:
2010-08-19
Last reply:
2010-08-19
Jean-Peer Lorenz (peer.loz) said : #1

Hi Roger,

can you please install the latest version of Simple Backup from PPA (see here: https://edge.launchpad.net/~nssbackup-team/+archive/ppa ). Does the error occurs frequently? In general, a Input/output error is not related to (ns)sbackup rather sounds like a broken harddisk.

HTH,
Jean-Peer.

rogerw05465 (rogerw-nordlink) said : #2
Jean-Peer Lorenz (peer.loz) said : #3

Change status as this seemed solved now.