nssbackup-team team mailing list archive
-
nssbackup-team team
-
Mailing list archive
-
Message #00318
Re: [Question #57582]: Can NSsbackup create backups on a file server that is locally mounted?
Question #57582 on NSsbackup changed:
https://answers.edge.launchpad.net/nssbackup/+question/57582
Status: Needs information => Open
mfpost@xxxxxxxxx gave more information on the question:
OK, I think we have something a bit more helpful now. I ran the following command from a console (logged in as a user).
"sudo /usr/share/nssbackup/nssbackup /etc/nssbackup.d/nssbackup-test2.conf /var/backups/nssbackup/"
I got the following output.
-----------------------------------------
2009-01-19 10:00:31,735 - DEBUG - ConfigManager.py:validateConfigFileOpts(435) - Validating config file
2009-01-19 10:00:31,735 - INFO - ConfigManager.py:__init__(283) - ConfigManager created with '/etc/nssbackup.conf'
2009-01-19 10:00:31,825 - INFO - BackupManager.py:__init__(79) - BackupManager created
2009-01-19 10:00:31,869 - ERROR - nssbackupd.py:__onError(217) - Launch helper exited with unknown return code 1
2009-01-19 10:00:31,871 - ERROR - nssbackupd.py:__onError(218) - Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nssbackup/nssbackupd.py", line 138, in run
self.__bm.makeBackup()
File "/usr/lib/python2.5/site-packages/nssbackup/managers/BackupManager.py", line 87, in makeBackup
n.show()
GError: Launch helper exited with unknown return code 1
2009-01-19 10:00:31,963 - WARNING - nssbackupd.py:__onError(228) - Launch helper exited with unknown return code 1
2009-01-19 10:00:31,964 - ERROR - nssbackupd.py:__onError(253) - Couldn't copy the logfile into the snapshot directory
2009-01-19 10:00:31,966 - INFO - ConfigManager.py:__init__(283) - ConfigManager created with '/etc/nssbackup.d/nssbackup-test2.conf'
2009-01-19 10:00:31,966 - INFO - BackupManager.py:__init__(79) - BackupManager created
2009-01-19 10:00:31,976 - ERROR - nssbackupd.py:__onError(217) - Launch helper exited with unknown return code 1
2009-01-19 10:00:31,976 - ERROR - nssbackupd.py:__onError(218) - Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nssbackup/nssbackupd.py", line 157, in run
self.__bm.makeBackup()
File "/usr/lib/python2.5/site-packages/nssbackup/managers/BackupManager.py", line 87, in makeBackup
n.show()
GError: Launch helper exited with unknown return code 1
2009-01-19 10:00:31,984 - WARNING - nssbackupd.py:__onError(228) - Launch helper exited with unknown return code 1
2009-01-19 10:00:31,985 - ERROR - nssbackupd.py:__onError(253) - Couldn't copy the logfile into the snapshot directory
/etc/nssbackup.d/nssbackup-test2.conf
--------------------------------------------------
[log]
file = /var/log/nssbackup.log
level = 20
[places]
prefix = /usr
[schedule]
[dirconfig]
/media/ = 0
/var/cache/ = 0
/var/ = 1
/home/ = 1
/var/spool/ = 0
/var/tmp/ = 0
/usr/local/ = 1
/etc/ = 1
[general]
target = /var/backup
format = gzip
mountdir = /mnt/nssbackup
purge = log
maxincrement = 7
lockfile = /var/lock/nssbackup.lock
[report]
[exclude]
/var/log/nssbackup.log
-----------------------------
NSSBackup 'test2' Logger
==============
2009-01-19 10:00:31,966 - INFO - ConfigManager.py:__init__(283) - ConfigManager created with '/etc/nssbackup.d/nssbackup-test2.conf'
2009-01-19 10:00:31,966 - INFO - BackupManager.py:__init__(79) - BackupManager created
One odd thing I noticed is that if I type in "nssb" and hit the tab key
at a console it finds the command and finishes it (I get "nssbackup").
But if I then hit enter I get "bash: nssbackup: command not found".
--
You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.