[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Exception when running the backup
From: |
Andrew Ferguson |
Subject: |
Re: [rdiff-backup-users] Exception when running the backup |
Date: |
Sat, 17 Mar 2007 23:52:04 -0400 |
User-agent: |
Thunderbird 1.5.0.10 (Macintosh/20070221) |
Frederik,
I believe the error you are seeing is due to a corrupt file. You can try
running the backup again and see if it works now. Or, you can run
rdiff-backup with -v5 and see which file it is trying to backup before
it fails.
Andrew
Frederik B. Sørensen - Tiger Media ApS wrote:
> When i run rdiff-backup trough backup-ninja on debian i get an exception.
> I can't figure out why i get the exception, any helt will be appriciated.
>
> banke# rdiff-backup -V
> rdiff-backup 1.1.5
>
> The output from running rdiff-backup from backupninja:
>
> Debug: yes
> Debug: (local is assumed to be a good connection)
> Debug: ssh -o PasswordAuthentication=no xxx.xxx.xxx.xxx -l backupuser
> 'echo -n 1'
> host is alive
> Debug: Connected to xxx.xxx.xxx.xxx as backupuser successfully
> Debug: /usr/bin/rdiff-backup -V
> Debug: ssh xxx.xxx.xxx.xxx -l backupuser '/usr/bin/rdiff-backup -V'
> Debug: /usr/bin/rdiff-backup --force --remove-older-than 10D
> address@hidden::/home/backupuser/backups/server03.tigermedia.eu
> Debug: No increments older than Fri Mar 2 23:48:45 2007 found, exiting.
> Info: Removing backups older than 10D days succeeded.
> Debug: /usr/bin/rdiff-backup --print-statistics --include
> '/var/spool/cron/crontabs' --include '/var/backups' --include '/etc'
> --include '/root' --include '/home' --include '/usr/lib' --include
> '/usr/local/sbin' --include '/var/lib/dpkg/status' --include
> '/var/lib/dpkg/status-old' --exclude '/*' /
> address@hidden::/home/backupuser/backups/server03.tigermedia.eu
> Warning: Exception '' raised of class 'exceptions.AssertionError': File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 295, in
> error_check_Main try: Main(arglist) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 315, in
> Main take_action(rps) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 271, in
> take_action elif action == "backup": Backup(rps[0], rps[1]) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 328, in
> Backup backup_final_init(rpout) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 425, in
> backup_final_init checkdest_if_necessary(rpout) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 820, in
> checkdest_if_necessary need_check = checkdest_need_check(dest_rp) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 810, in
> checkdest_need_check if not force:
> curmir_incs[0].conn.regress.check_pids(curmir_incs) File
> "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line
> 448, in __call__ return apply(self.connection.reval, (self.name,) +
> args) File
> "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line
> 367, in reval for arg in args: self._put(arg, req_num) File
> "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line
> 139, in _put else: self._putobj(obj, req_num) File
> "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line
> 144, in _putobj self._write("o", pickle.dumps(obj, 1), req_num) File
> "pickle.py", line 1386, in dumps Pickler(file, protocol, bin).dump(obj)
> File "pickle.py", line 231, in dump self.save(obj) File "pickle.py",
> line 293, in save f(self, obj) # Call unbound method with explicit self
> File "pickle.py", line 614, in save_list self._batch_appends(iter(obj))
> File "pickle.py", line 647, in _batch_appends save(x) File "pickle.py",
> line 293, in save f(self, obj) # Call unbound method with explicit self
> File "pickle.py", line 737, in save_inst stuff = getstate() File
> "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 754, in
> __getstate__ assert self.conn is Globals.local_connection Traceback
> (most recent call last): File "/usr/bin/rdiff-backup", line 23, in ?
> rdiff_backup.Main.error_check_Main(sys.argv[1:]) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 295, in
> error_check_Main try: Main(arglist) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 315, in
> Main take_action(rps) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 271, in
> take_action elif action == "backup": Backup(rps[0], rps[1]) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 328, in
> Backup backup_final_init(rpout) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 425, in
> backup_final_init checkdest_if_necessary(rpout) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 820, in
> checkdest_if_necessary need_check = checkdest_need_check(dest_rp) File
> "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 810, in
> checkdest_need_check if not force:
> curmir_incs[0].conn.regress.check_pids(curmir_incs) File
> "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line
> 448, in __call__ return apply(self.connection.reval, (self.name,) +
> args) File
> "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line
> 367, in reval for arg in args: self._put(arg, req_num) File
> "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line
> 139, in _put else: self._putobj(obj, req_num) File
> "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line
> 144, in _putobj self._write("o", pickle.dumps(obj, 1), req_num) File
> "/usr/lib/python2.4/pickle.py", line 1386, in dumps Pickler(file,
> protocol, bin).dump(obj) File "/usr/lib/python2.4/pickle.py", line 231,
> in dump self.save(obj) File "/usr/lib/python2.4/pickle.py", line 293, in
> save f(self, obj) # Call unbound method with explicit self File
> "/usr/lib/python2.4/pickle.py", line 614, in save_list
> self._batch_appends(iter(obj)) File "/usr/lib/python2.4/pickle.py", line
> 647, in _batch_appends save(x) File "/usr/lib/python2.4/pickle.py", line
> 293, in save f(self, obj) # Call unbound method with explicit self File
> "/usr/lib/python2.4/pickle.py", line 737, in save_inst stuff =
> getstate() File
> "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 754, in
> __getstate__ assert self.conn is Globals.local_connection AssertionError
> Fatal Error: Lost connection to the remote system
> Warning: Failed backup up source server03.tigermedia.eu
> Warning: <<<< finished action /etc/backup.d/all.rdiff: WARNING
> Debug: send report to root
> df: `': No such file or directory
> Info: FINISHED: 2 actions run. 0 fatal. 0 error. 2 warning.
>
>
> _______________________________________________
> rdiff-backup-users mailing list at address@hidden
> http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
>
--
Andrew Ferguson - address@hidden