New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid location format on cifs/smb #1705
Comments
A single double-dot should be allowed in paths, but it looks like it isn't. Probably an oversight / simplification of the parsing regex here.
In the meantime, try a bind-mount to have a path point at your real mount point, which doesn't contain any double-dots:
A symlink doesn't seem to work. (Another thing to fix here?) |
|
also: - refactor / deduplicate the location parsing regexes - add comments - add more tests for Location parsing
also: - refactor / deduplicate the location parsing regexes - add comments - add more tests for Location parsing
allow pathes with colons, fixes #1705
fixed by #1710 |
I am having a similar problem. Is it because my version of Borg is too old?
Cf. #111? |
directly using |
Thanks, but I do, I believe, have the location mounted. For, see below.
Perhaps you had in mind mounting the share using Samba, alone, i.e. without (More precisely, I use the following procedure.
Shares made available in that way are accessible outside of the file manager only after I have accessed them in the file manager. That is: if, since the last boot, I have not used my file manager bookmark, attempts to access the shares - outside of the file manager - fail until I do use the file manager. Yet, in the case in question, i.e. with borg, I had done that. Hence the |
This is not a normal fs path, nor is |
And for your last comment: there seems to be a lock in the repo. You can use |
Hello,
Shouldn't this bug be fixed in 1.1.10? Or am i doing someting wrong? |
@dankert what does this have to do with the topic of this issue? Please do not append to random old and closed tickets. Also, maybe try to mount the smb share at a simpler mountpoint and give that to borg. |
I got a samba share mounted on /run/user/1000/gvfs/smb-share:server=diskstation.local,share=backup.
When initializing a repo using
borg init /run/user/1000/gvfs/smb-share:server=diskstation.local,share=backup
I get:borg init: error: argument REPOSITORY: Invalid location format: "/run/user/1000/gvfs/smb-share:server=diskstation.local,share=backup"
The text was updated successfully, but these errors were encountered: