mirror of
https://github.com/octoleo/restic.git
synced 2024-12-27 04:32:40 +00:00
8f5ff379b7
Prepends the object path prefix to all s3 paths and allows to have multiple independent restic backup repositories in a single s3 bucket. Removed the hardcoded "restic" prefix from s3 paths. Use "restic" as the default object path prefix for s3 if no other prefix gets specified. This will retain backward compatibility with existing s3 repository configurations. Simplified the parse flow to have a single point where we parse the bucket name and the prefix within the bucket. Added tests for s3 object path prefix and the new default prefix to config_test and location_test. |
||
---|---|---|
.. | ||
local | ||
mem | ||
s3 | ||
sftp | ||
test | ||
doc.go | ||
generic_test.go | ||
generic.go | ||
handle_test.go | ||
handle.go | ||
id_int_test.go | ||
id_test.go | ||
id.go | ||
ids_test.go | ||
ids.go | ||
idset_test.go | ||
idset.go | ||
interface.go | ||
mock_backend.go | ||
paths.go | ||
utils_test.go | ||
utils.go |