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

 
 

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

Submitter:  None
Submitted:  Sat 06 May 2006 05:34:01 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

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

dean gaudet <dgaudet>
Group 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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-05-19 dgaudet Open/ClosedOpen Closed
    2006-11-05 dgaudet StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code