nssbackup-team team mailing list archive
-
nssbackup-team team
-
Mailing list archive
-
Message #00763
Re: [Question #82020]: Empty backup created
Question #82020 on NSsbackup changed:
https://answers.edge.launchpad.net/nssbackup/+question/82020
Status: Needs information => Open
Guus Bonnema gave more information on the question:
Hi Oumar,
I suspect something else is wrong.
I entered a completely different [dirconfig] and got the same result.
The following files are created on the remote site:
ncftp ...alhost.localdomain.ful > ls -l
-rw-r--r-- support support 8 Sep 23 05:22 excludes
-rw-r--r-- support support 106 Sep 23 05:23 excludes.list
-rw-r--r-- support support 130 Sep 23 05:23 excludes.list.tmp
-rw-r--r-- support support 0 Sep 23 05:23 files.tar.gz
-rw-r--r-- support support 6 Sep 23 05:22 format
-rw-r--r-- support support 104 Sep 23 05:23 includes.list
-rw-r--r-- support support 104 Sep 23 05:23 includes.list.tmp
-rw-r--r-- support support 0 Sep 23 05:22 packages
As you can see the files.tar.gz is empty.
The filespec used was:
ncftp ...alhost.localdomain.ful > cat includes.list
/home/abonnema/Documents/00-private
/work/thuis
/ddisk/backup/00-keyfiles
/ddisk/backup/00-protected-01
ncftp ...alhost.localdomain.ful > cat excludes.list
/sys/*
/tmp/*
/proc/*
/dev/*
/home/abonnema/.local/share/nssbackup/mountdir/ftp_abonnema@xxxxxxxxxxxxxxx
The relevant portion of the log is:
2009-09-23 05:24:48,593 - INFO - BackupManager.py:makeBackup(310) - Starting snapshot 2009-09-23_05.24.46.270400.localhost.localdomain.ful
2009-09-23 05:24:48,594 - INFO - BackupManager.py:makeBackup(323) - Setting packages File
2009-09-23 05:24:48,623 - INFO - BackupManager.py:makeBackup(333) - Setting Excludes File
2009-09-23 05:24:48,625 - INFO - BackupManager.py:makeBackup(341) - Setting compression format
2009-09-23 05:24:48,626 - INFO - BackupManager.py:makeBackup(346) - Setting split size
2009-09-23 05:25:47,643 - INFO - tar.py:makeTarFullBackup(344) - Launching TAR to make a Full backup
2009-09-23 05:27:05,239 - ERROR - nssbackupd.py:__onError(226) - Given copy destination '/home/abonnema/.local/share/nssbackup/mountdir/ftp_abonnema@xxxxxxxxxxxxxxx/2009-09-23_05.24.46.270400.localhost.localdomain.ful' does not exist.
2009-09-23 05:27:05,290 - ERROR - nssbackupd.py:__onError(227) - Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/nssbackup/nssbackupd.py", line 217, in run
self.__bm.makeBackup()
File "/usr/lib/python2.6/site-packages/nssbackup/managers/BackupManager.py", line 364, in makeBackup
self.__actualSnapshot.commit()
File "/usr/lib/python2.6/site-packages/nssbackup/util/Snapshot.py", line 344, in commit
self.__makebackup()
File "/usr/lib/python2.6/site-packages/nssbackup/util/Snapshot.py", line 538, in __makebackup
TAR.makeTarFullBackup(self)
File "/usr/lib/python2.6/site-packages/nssbackup/util/tar.py", line 372, in makeTarFullBackup
Util.nssb_copy( tmp_snarfile, snarfile )
File "/usr/lib/python2.6/site-packages/nssbackup/util/__init__.py", line 113, in nssb_copy
prep_src, prep_dst = _prepare_nssb_copy(src, dst)
File "/usr/lib/python2.6/site-packages/nssbackup/util/__init__.py", line 160, in _prepare_nssb_copy
raise IOError("Given copy destination '%s' does not exist." % _dst_dir)
IOError: Given copy destination '/home/abonnema/.local/share/nssbackup/mountdir/ftp_abonnema@xxxxxxxxxxxxxxx/2009-09-23_05.24.46.270400.localhost.localdomain.ful' does not exist.
2009-09-23 05:27:05,304 - INFO - BackupManager.py:__unsetlockfile(565) -
Session of backup is finished
(/home/abonnema/.local/share/nssbackup/nssbackup.lock is removed)
The error I see is weird, because the files are stored, it's just that files.tar.gz is empty.
Also I got a bunch of the following errors for files already at the remote site:
2009-09-23 05:24:46,270 - WARNING -
SnapshotManager.py:_read_snps_from_disk_allformats(174) - Got a non
valid snapshot 'signature' due to name convention : Name of Snapshot not
valid : False
So, that's it. Hope you can make heads or tail of it.
Guus.
You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.