restic/backend
Christian Kemper 8f5ff379b7 Introduced a configurable object path prefix for s3 repositories.
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.
2016-02-14 06:05:38 -08:00
..
local local: split out tempfile write function 2016-01-26 22:12:53 +01:00
mem mem backend: remove unused code 2016-01-27 21:33:48 +01:00
s3 Introduced a configurable object path prefix for s3 repositories. 2016-02-14 06:05:38 -08:00
sftp sftp: Reduce duplicate code, add error check 2016-01-26 22:16:24 +01:00
test Add test for LoadAll with too large buffer 2016-02-07 23:48:03 +01:00
doc.go Add more documentation 2016-01-26 21:49:22 +01:00
generic.go Cleanups, move Hash() to id.go 2016-01-26 21:49:33 +01:00
generic_test.go Remove duplicate function str2id 2016-01-26 21:52:02 +01:00
handle.go backends: Add Save() 2016-01-24 16:59:38 +01:00
handle_test.go Implement package-local tests 2016-01-23 17:08:03 +01:00
id.go Remove duplicate function str2id 2016-01-26 21:52:02 +01:00
id_int_test.go Use array instead of hash for backend.ID 2015-07-25 18:01:57 +02:00
id_test.go Use package "restic/test" 2015-04-09 21:15:48 +02:00
ids.go backend: Add String() to IDs 2015-09-05 18:41:58 +02:00
ids_test.go Remove duplicate function str2id 2016-01-26 21:52:02 +01:00
idset.go Sort IDSet.List() 2015-11-02 18:52:13 +01:00
idset_test.go Remove duplicate function str2id 2016-01-26 21:52:02 +01:00
interface.go Remove Create() everywhere 2016-01-24 20:23:50 +01:00
mock_backend.go Add a lot of comments 2016-01-26 21:56:13 +01:00
paths.go Add a lot of comments 2016-01-26 21:56:13 +01:00
utils.go backend.LoadAll: return nil on expected error 2016-02-07 23:48:54 +01:00
utils_test.go Add test for LoadAll with too large buffer 2016-02-07 23:48:03 +01:00