mirror of
https://github.com/octoleo/restic.git
synced 2024-11-15 17:47:21 +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. |
||
---|---|---|
.. | ||
backend_test.go | ||
config_test.go | ||
config.go | ||
s3_test.go | ||
s3.go |