bugrdiff-backup - Bugs: bug #16535, Exception if you specify xB in...

 
 

bug #16535: Exception if you specify xB in remote restore

Submitted by:  None
Submitted on:  Sat 06 May 2006 05:34:01 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 19 May 2007 06:59:53 PM UTC, comment #2:

ugh anon poster... reopen if the problem still exists.

dean gaudet <dgaudet>
Project Administrator
Sun 05 Nov 2006 01:42:40 AM UTC, comment #1:

i think i fixed this bug, and the bugfix is in cvs... have you tried the cvs?

-dean

dean gaudet <dgaudet>
Project Administrator
Sat 06 May 2006 05:34:01 AM UTC, original submission:

This exception comes back every time if I try to restore using the "xB" time format. Other formats such as 'now' and 2006-03-01 work as expected.

There are more than 4 backups in the rdiff-backup repository on drdsvc0.

Running: rdiff-backup --restore-as-of 4B drdsvc0::/export/data1/backup .

Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Main.py", line 285, in Main
take_action(rps)
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Main.py", line 265, in take_action
elif action == "restore-as-of": Restore(rps[0], rps[1], 1)
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Main.py", line 499, in Restore
try: time = Time.genstrtotime(restore_timestr, rp = inc_rpath)
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Time.py", line 223, in genstrtotime
return time_from_session(int(timestr[:-1]), rp)
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Time.py", line 187, in time_from_session
session_times = Globals.rbdir.conn.restore.MirrorStruct \
File "/usr/lib64/python2.3/site-packages/rdiff_backup/connection.py", line 446, in _call_
return apply(self.connection.reval, (self.name,) + args)
File "/usr/lib64/python2.3/site-packages/rdiff_backup/connection.py", line 368, in reval
if isinstance(result, Exception): raise result
rdiff_backup.Security.Violation:
Warning Security Violation!
Bad request for function: restore.MirrorStruct.get_increment_times
with arguments: []

[fds@drdsa00 bring-back]$ Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Main.py", line 285, in Main
take_action(rps)
File "/usr/lib64/python2.3/site-packages/rdiff_backup/Main.py", line 253, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib64/python2.3/site-packages/rdiff_backup/connection.py", line 353, in Server
self.get_response(-1)
File "/usr/lib64/python2.3/site-packages/rdiff_backup/connection.py", line 315, in get_response
try: req_num, object = self._get()
File "/usr/lib64/python2.3/site-packages/rdiff_backup/connection.py", line 230, in _get
raise ConnectionReadError("Truncated header string (wanted 9, got %d " \
rdiff_backup.connection.ConnectionReadError: Truncated header string (wanted 9, got 0 problem probably originated remotely)

Thanks,
Federico Sacerdoti (deshaw.com)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dgaudet (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 May 2007 06:59:53 PM UTCdgaudetOpen/ClosedOpen=>Closed
    Sun 05 Nov 2006 01:42:40 AM UTCdgaudetStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1