mirror of
https://github.com/restic/restic.git
synced 2024-12-26 01:37:12 +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. |
||
---|---|---|
.. | ||
location.go | ||
location_test.go |