Skip to content
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

backend.create: only reject non-empty storage, see #57 #59

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

ThomasWaldmann
Copy link
Member

we shouldn't check just for the base directory and reject if it exists, that is troublesome for cloud storages.

also, it is not really a problem if we just use an empty filesystem or sftp directory - we should only reject if there is stuff inside.

we shouldn't check just for the base directory and reject
if it exists, that is troublesome for cloud storages.

also, it is not really a problem if we just use an empty
filesystem or sftp directory - we should only reject if
there is stuff inside.
@ThomasWaldmann
Copy link
Member Author

@ncw will merge after tests pass.

i fixed posixfs and sftp backends, but not rclone. thanks for helping!

@ThomasWaldmann ThomasWaldmann merged commit b8a9a74 into borgbackup:master Sep 27, 2024
7 checks passed
@ThomasWaldmann ThomasWaldmann deleted the fix-empty-base-dir branch September 27, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant