[Borgbackup] cannot downgrade from 1.0.4 to 1.0.3?

Thorsten von Eicken tve at voneicken.com
Thu Jun 23 21:19:10 EDT 2016


Due to the problem with repo inconsistencies (see other thread) I had to 
downgrade from 1.0.4 to 1.0.3 and now I get the following errors that 
lead me to believe that downgrading is not supported?

borg create --show-rc --stats -v -e .cache -C none 
backup at backup:/big/h/photos::photos-2016-06-23T07:35-0700 /soumak/photos
Remote: Borg 1.0.3: exception in RPC call:
Remote: Traceback (most recent call last):
Remote:   File "/usr/lib/python3.5/site-packages/borg/remote.py", line 
96, in serve
Remote:     res = f(*args)
Remote:   File "/usr/lib/python3.5/site-packages/borg/repository.py", 
line 455, in put
Remote:     self.prepare_txn(self.get_transaction_id())
Remote:   File "/usr/lib/python3.5/site-packages/borg/repository.py", 
line 217, in prepare_txn
Remote:     raise ValueError('Unknown hints file version: %d' % 
hints['version'])
Remote: KeyError: 'version'
Remote: Platform: Linux backup 3.10.96-5-ARCH #1 SMP PREEMPT Thu Apr 28 
19:19:32 MDT 2016 armv7l
Remote: Linux: arch
Remote: Borg: 1.0.3  Python: CPython 3.5.1
Remote: PID: 16144  CWD: /big
Remote: sys.argv: ['/usr/bin/borg', 'serve', '--restrict-to-path', '/big/h']
Remote: SSH_ORIGINAL_COMMAND: 'borg serve --umask=077 --info'
Remote:
Remote: Borg 1.0.3: exception in RPC call:
Remote: Traceback (most recent call last):
Remote:   File "/usr/lib/python3.5/site-packages/borg/remote.py", line 
96, in serve
Remote:     res = f(*args)
Remote:   File "/usr/lib/python3.5/site-packages/borg/repository.py", 
line 458, in put
Remote:     self.segments[segment] -= 1
Remote: AttributeError: 'Repository' object has no attribute 'segments'
Remote: Platform: Linux backup 3.10.96-5-ARCH #1 SMP PREEMPT Thu Apr 28 
19:19:32 MDT 2016 armv7l
Remote: Linux: arch
Remote: Borg: 1.0.3  Python: CPython 3.5.1
Remote: PID: 16144  CWD: /big
Remote: sys.argv: ['/usr/bin/borg', 'serve', '--restrict-to-path', '/big/h']
Remote: SSH_ORIGINAL_COMMAND: 'borg serve --umask=077 --info'
Remote:
Remote Exception (see remote log for the traceback)
Platform: Linux h 3.13.0-77-generic #121-Ubuntu SMP Wed Jan 20 10:50:42 
UTC 2016 x86_64 x86_64
Linux: Ubuntu 14.04 trusty
Borg: 1.0.3  Python: CPython 3.4.3
PID: 5689  CWD: /root
sys.argv: ['/usr/bin/borg', 'create', '--show-rc', '--stats', '-v', 
'-e', '.cache', '-C', 'none', 
'backup at backup:/big/h/photos::photos-2016-06-23T07:35-0700', 
'/soumak/photos']
SSH_ORIGINAL_COMMAND: None

terminating with error status, rc 2



More information about the Borgbackup mailing list