rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Version difference problem


From: feffer
Subject: [rdiff-backup-users] Version difference problem
Date: Thu, 24 Jul 2008 17:11:13 -0400

Hi Andrew,
Here's the whole story -- hope this helps. 
btw, I really like rdiff-backup, great work, and thanks for your explanation
thx, feffer

On the server:
slug:/home/bak# dpkg -l rdiff-backup
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name            Version         Description
+++-===============-===============-==============================================
ii  rdiff-backup    1.1.14-1~bpo40+ remote incremental backup

On the Workstation
address@hidden:~$ dpkg -l rdiff-backup
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name            Version         Description
+++-===============-===============-==============================================
hi  rdiff-backup    1.1.16-2        remote incremental backup

This setup works even though dpkg shows rdiff is only "half-installed" on the 
ws. I get some errors in the backup log:
# July 22-2, 2008
UpdateError .kde/share/apps/knemo/statistics_eth1 Updated mirror temp file 
/home/bak/srp_hm/.kde/share/apps/knemo/rdiff-backup.tmp.25 does not match source
SpecialFileError .kde4/share/apps/nepomuk/socket Socket error: AF_UNIX path too 
long

The backup script uses "--exclude-sockets" but I get the error anyway. I'm not 
sure if this is important or related.

A test backup with this setup yields:
        slug:/home/bak$ rdiff-backup sidux-bak::/tmp test-55
        Warning: Local version 1.1.14 does not match remote version 1.1.16.
The actual backup works fine.
******************************
OK, now taking the hold off rdiff on the ws and upgrading to 1.1.17:
        hmmm, just taking the hold off dpkg now shows 1.1.16 as "fully 
installed"
        Maybe I'm OK holding it after all....

Anyway to give you the error message, now installing 1.1.17:

address@hidden:~/.ssh# apt-get install rdiff-backup
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
  python-pylibacl python-pyxattr
The following packages will be upgraded:
  rdiff-backup
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/192kB of archives.
After this operation, 12.3kB of additional disk space will be used.
(Reading database ... 164226 files and directories currently installed.)
Preparing to replace rdiff-backup 1.1.16-2 (using 
.../rdiff-backup_1.1.17-1_i386.deb) ...
Unpacking replacement rdiff-backup ...
Processing triggers for python-support ...
Processing triggers for man-db ...
Setting up rdiff-backup (1.1.17-1) ...
Processing triggers for python-support ...
address@hidden:~/.ssh#

## OK, so after installing 1.1.17 on the ws, the backup was retried and got:

slug:/home/bak$ rdiff-backup sidux-bak::/tmp test-999
Warning: Local version 1.1.14 does not match remote version 1.1.17.
Exception '
Warning Security Violation!
Bad request for function: C.make_file_dict
with arguments: ['/tmp']
' raised of class 'rdiff_backup.Security.Violation':
  File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 302, in 
error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 319, in 
Main
    rps = map(SetConnections.cmdpair2rp, cmdpairs)
  File "/var/lib/python-support/python2.4/rdiff_backup/SetConnections.py", line 
78, in cmdpair2rp
    return rpath.RPath(conn, filename).normalize()
  File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 747, in 
__init__
    else: self.setdata()
  File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 771, in 
setdata
    self.data = self.conn.C.make_file_dict(self.path)
  File "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line 
447, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line 
369, in reval
    if isinstance(result, Exception): raise result

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 302, in 
error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line 319, in 
Main
    rps = map(SetConnections.cmdpair2rp, cmdpairs)
  File "/var/lib/python-support/python2.4/rdiff_backup/SetConnections.py", line 
78, in cmdpair2rp
    return rpath.RPath(conn, filename).normalize()
  File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 747, in 
__init__
    else: self.setdata()
  File "/var/lib/python-support/python2.4/rdiff_backup/rpath.py", line 771, in 
setdata
    self.data = self.conn.C.make_file_dict(self.path)
  File "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line 
447, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/var/lib/python-support/python2.4/rdiff_backup/connection.py", line 
369, in reval
    if isinstance(result, Exception): raise result
rdiff_backup.Security.Violation:
Warning Security Violation!
Bad request for function: C.make_file_dict
with arguments: ['/tmp']

Fatal Error: Lost connection to the remote system
slug:/home/bak$

## As mentioned earlier, I'm OK going back to 1.1.16
## Hope this helps your development

+----------------------------------------------------------------------
|This was sent by address@hidden via Backup Central.
|Forward SPAM to address@hidden
+----------------------------------------------------------------------






reply via email to

[Prev in Thread] Current Thread [Next in Thread]