-
-
Notifications
You must be signed in to change notification settings - Fork 742
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
2.0.0b10 - OSError when using sftp: repository #8373
Comments
Hmm, that is a I'll make a borgstore 0.0.2 release ASAP, so you can test if calling That sftp server you use is OpenSSH, right? |
Likely fixed in borgstore 0.0.2: https://github.com/borgbackup/borgstore/blob/master/CHANGES.rst |
Yes, server uses OpenSSH. Issue is fixed with borgstore-0.0.2. Works for me. Thank you! Let me check: is the format for the storage URL described somewhere? Reason for asking is that one needs to include a user in the url, e.g.,
|
OK, looks like 2 remaining issues:
The borg docs were updated with working URLs, there is a specific section about that: https://borgbackup.readthedocs.io/en/master/usage/general.html#repository-urls |
borgstore 0.0.3 now has the user part optional and also can read ssh configuration now. also raises a BE specific exception for borg to catch. |
BE specific error catched now, simple error msg printed, no traceback. #8420 |
catch BackendError raised by Store(), see #8373
Have you checked borgbackup docs, FAQ, and open GitHub issues?
Yes
Is this a BUG / ISSUE report or a QUESTION?
Bug
System information. For client/server mode post info for both machines.
Your borg version (borg version).
2.0.0b10 / 2.0.0b10
Operating system (distribution) and version.
OpenBSD amd64 current
Full borg commandline that lead to the problem (leave away excludes and passwords)
borg -r sftp://bket@gateway:22/tmp/test create $(date +%s) /home/bket
Describe the problem you're observing.
When creating a backup using a sftp: repository I see the following:
A check if the backup has been made results in the following error:
After removing the local security dir (.local/borg) everything seems fine:
The text was updated successfully, but these errors were encountered: