rdiff-backup-1.1.5 can't use earlier rdiff-backup backups

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

rdiff-backup-1.1.5 can't use earlier rdiff-backup backups

Sébastien Maret-2
I've just upgraded rdiff-backup from version 1.0.4 to version 1.1.5 on both
server and client side. Now when I list the increments of the backup I've
made with the earlier version, I obtain the following error:

% rdiff-backup -l server::/path/to/backup
Exception '' raised of class 'exceptions.AssertionError':
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 295, in error_check_Main
    try: Main(arglist)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 315, in Main
    take_action(rps)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 277, in take_action
    elif action == "list-increments": ListIncrements(rps[0])
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 623, in ListIncrements
    restore_check_backup_dir(restore_root)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 555, in restore_check_backup_dir
    result = checkdest_need_check(mirror_root)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 810, in checkdest_need_check
    if not force: curmir_incs[0].conn.regress.check_pids(curmir_incs)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/connection.py", line 448, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/connection.py", line 367, in reval
    for arg in args: self._put(arg, req_num)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/connection.py", line 139, in _put
    else: self._putobj(obj, req_num)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/connection.py", line 144, in _putobj
    self._write("o", pickle.dumps(obj, 1), req_num)
  File "/sw/lib/python2.4/pickle.py", line 1386, in dumps
    Pickler(file, protocol, bin).dump(obj)
  File "/sw/lib/python2.4/pickle.py", line 231, in dump
    self.save(obj)
  File "/sw/lib/python2.4/pickle.py", line 293, in save
    f(self, obj) # Call unbound method with explicit self
  File "/sw/lib/python2.4/pickle.py", line 614, in save_list
    self._batch_appends(iter(obj))
  File "/sw/lib/python2.4/pickle.py", line 647, in _batch_appends
    save(x)
  File "/sw/lib/python2.4/pickle.py", line 293, in save
    f(self, obj) # Call unbound method with explicit self
  File "/sw/lib/python2.4/pickle.py", line 737, in save_inst
    stuff = getstate()
  File "/sw/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 754, in __getstate__
    assert self.conn is Globals.local_connection

Traceback (most recent call last):
  File "/sw/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 295, in error_check_Main
    try: Main(arglist)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 315, in Main
    take_action(rps)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 277, in take_action
    elif action == "list-increments": ListIncrements(rps[0])
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 623, in ListIncrements
    restore_check_backup_dir(restore_root)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 555, in restore_check_backup_dir
    result = checkdest_need_check(mirror_root)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/Main.py", line 810, in checkdest_need_check
    if not force: curmir_incs[0].conn.regress.check_pids(curmir_incs)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/connection.py", line 448, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/connection.py", line 367, in reval
    for arg in args: self._put(arg, req_num)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/connection.py", line 139, in _put
    else: self._putobj(obj, req_num)
  File "/sw/lib/python2.4/site-packages/rdiff_backup/connection.py", line 144, in _putobj
    self._write("o", pickle.dumps(obj, 1), req_num)
  File "/sw/lib/python2.4/pickle.py", line 1386, in dumps
    Pickler(file, protocol, bin).dump(obj)
  File "/sw/lib/python2.4/pickle.py", line 231, in dump
    self.save(obj)
  File "/sw/lib/python2.4/pickle.py", line 293, in save
    f(self, obj) # Call unbound method with explicit self
  File "/sw/lib/python2.4/pickle.py", line 614, in save_list
    self._batch_appends(iter(obj))
  File "/sw/lib/python2.4/pickle.py", line 647, in _batch_appends
    save(x)
  File "/sw/lib/python2.4/pickle.py", line 293, in save
    f(self, obj) # Call unbound method with explicit self
  File "/sw/lib/python2.4/pickle.py", line 737, in save_inst
    stuff = getstate()
  File "/sw/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 754, in __getstate__
    assert self.conn is Globals.local_connection
AssertionError
Fatal Error: Lost connection to the remote system

I've tried to make a new backup on the server and it's works fine. Are
the backups done with earlier versions of rdiff-backup imcompatible with
rdiff-backup-1.1.5 ?

I am using rdiff-backup-1.1.5 installed with Fink on MacOSX 10.4.4.



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: rdiff-backup-1.1.5 can't use earlier rdiff-backup backups

Charles Duffy-6
Sebastien Maret wrote:
> I've tried to make a new backup on the server and it's works fine. Are
> the backups done with earlier versions of rdiff-backup imcompatible with
> rdiff-backup-1.1.5 ?
>  
Shouldn't be, no. (Not that I'm any authority, mind you -- but most of
the folks who are actually authoritative seem pretty busy these days).

Can you restore the backup *locally* on the server, as opposed to over
the wire?


_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Reply | Threaded
Open this post in threaded view
|

Re: rdiff-backup-1.1.5 can't use earlier rdiff-backup backups

Sébastien Maret-2
Charles Duffy <[hidden email]> writes:

> Can you restore the backup *locally* on the server, as opposed to over
> the wire?

Yes.



_______________________________________________
rdiff-backup-users mailing list at [hidden email]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki