borgbackup / borgstore

experimental storage backend
Other
7 stars 3 forks source link

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

Closed ThomasWaldmann closed 1 month ago

ThomasWaldmann commented 1 month ago

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 commented 1 month ago

@ncw will merge after tests pass.

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