[Borgbackup] borg cutting off last letter of host for remote repos

Adrian Klaver adrian.klaver at aklaver.com
Fri Feb 10 10:01:49 EST 2017


On 02/10/2017 06:25 AM, Thomas Waldmann wrote:
> Try this with the 1.0.9 binary:
>
> borg init ssh://hostname/repopath
>
> I suspect this is the sloppy location parsing regex in 1.0.9 which was

I forgot to mention previously I am using 1.0.8, so the parsing issue 
may predate 1.0.9. FYI borg_new below is an artifact of running two 
version of borg side-side for a while. Still when I run above I get:

aklaver at tito:~> borg_new init --remote-path /home/aklaver/bin/borg_new 
ssh://arkansas/test_repo
Remote: Borg 1.0.8: exception in RPC call:
Remote: Traceback (most recent call last):
Remote:   File "borg/remote.py", line 113, in serve
Remote:   File "borg/remote.py", line 153, in open
Remote:   File "borg/repository.py", line 81, in __enter__
Remote:   File "borg/repository.py", line 102, in create
Remote: PermissionError: [Errno 13] Permission denied: '/test_repo'
Remote: Platform: Linux arkansas 4.8.6-x86_64-linode78 #1 SMP Tue Nov 1 
14:51:21 EDT 2016 x86_64 x86_64
Remote: Linux: debian stretch/sid
Remote: Borg: 1.0.8  Python: CPython 3.5.2
Remote: PID: 19323  CWD: /home/aklaver
Remote: sys.argv: ['/home/aklaver/bin/borg_new', 'serve', '--umask=077']
Remote: SSH_ORIGINAL_COMMAND: None
Remote:
/bin/sh: /tmp/_MEIJ2G7ob/libreadline.so.6: no version information 
available (required by /bin/sh)
/bin/sh: relocation error: /bin/sh: symbol rl_filename_stat_hook, 
version READLINE_6.3 not defined in file libreadline.so.6 with link time 
reference
('Remote Exception (see remote log for the traceback)', 'PermissionError')
Platform: Linux tito 4.4.36-8-default #1 SMP Fri Dec 9 16:18:38 UTC 2016 
(3ec5648) x86_64
Linux: openSUSE  42.2 x86_64
Borg: 1.0.8  Python: CPython 3.5.2
PID: 4219  CWD: /home/aklaver
sys.argv: ['borg_new', 'init', '--remote-path', 
'/home/aklaver/bin/borg_new', 'ssh://arkansas/test_repo']
SSH_ORIGINAL_COMMAND: None


This works though:

aklaver at tito:~> borg_new init --remote-path /home/aklaver/bin/borg_new 
arkansas:test_repo
Enter new passphrase:
Enter same passphrase again:


> fixed in 1.0.10rc1 (and not pyinstaller).

>
>


-- 
Adrian Klaver
adrian.klaver at aklaver.com


More information about the Borgbackup mailing list