Seems like a cache and/or file:// path problem:
Steps:
borg init file:////synology/Backups/test/ -e none
borg info file:////synology/Backups/test/
Local Exception
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/borg/archiver.py", line 4024, in main
exit_code = archiver.run(args)
File "/usr/lib/python3.6/site-packages/borg/archiver.py", line 3952, in run
return set_ec(func(args))
File "/usr/lib/python3.6/site-packages/borg/archiver.py", line 141, in wrapper
assert_secure(repository, kwargs['manifest'])
File "/usr/lib/python3.6/site-packages/borg/cache.py", line 199, in assert_secure
sm.assert_secure(manifest, manifest.key)
File "/usr/lib/python3.6/site-packages/borg/cache.py", line 164, in assert_secure
with cache_config:
File "/usr/lib/python3.6/site-packages/borg/cache.py", line 231, in __enter__
self.open()
File "/usr/lib/python3.6/site-packages/borg/cache.py", line 255, in open
self.load()
File "/usr/lib/python3.6/site-packages/borg/cache.py", line 283, in load
self.previous_location = recanonicalize_relative_location(previous_location, self.repository)
File "/usr/lib/python3.6/site-packages/borg/cache.py", line 205, in recanonicalize_relative_location
rl = Location(repo_location)
File "/usr/lib/python3.6/site-packages/borg/helpers.py", line 1035, in __init__
raise ValueError('Location: parse failed: %s' % self.orig)
ValueError: Location: parse failed: //synology/Backups/test
Platform: CYGWIN_NT-10.0 Chaos-PC 2.9.0(0.318/5/3) 2017-09-12 10:18 x86_64
Borg: 1.1.0 Python: CPython 3.6.1
PID: 12284 CWD: /home/anato
sys.argv: ['/usr/bin/borg', 'info', 'file:////synology/test/']
SSH_ORIGINAL_COMMAND: None
Then I remove the borg cache folder in home and the borg info command runs fine, but only once! The second time the same error is shown.
I happens only with file://...
/cygdrive/e/test is OK.
I also noticed that borg complains about a //synology as a archive-path , but NOT on --exclude-from or as a source folder wich I want to backup.
See also #2186
Seems like a cache and/or file:// path problem:
Steps:
borg init file:////synology/Backups/test/ -e noneborg info file:////synology/Backups/test/Then I remove the borg cache folder in home and the borg info command runs fine, but only once! The second time the same error is shown.
I happens only with file://...
/cygdrive/e/test is OK.
I also noticed that borg complains about a //synology as a archive-path , but NOT on --exclude-from or as a source folder wich I want to backup.
See also #2186