-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: simonsan <[email protected]> Co-authored-by: github-actions <[email protected]> Co-authored-by: simonsan <[email protected]> Co-authored-by: Alexander Weiss <[email protected]>
- Loading branch information
1 parent
dc99e1f
commit f06574b
Showing
11 changed files
with
504 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# rustic config file to use opendal storage - in this case b2 | ||
[repository] | ||
repository = "opendal:b2" # just specify the opendal service here | ||
password = "mypassword" | ||
|
||
# all other options are given here. | ||
# Please refer to https://opendal.apache.org/docs/rust/opendal/services/index.html for the options supported by each service | ||
[repository.options] | ||
# Here, we give the required b2 options, see https://opendal.apache.org/docs/rust/opendal/services/struct.B2.html | ||
root = "repo-path" # Set the work directory for backend | ||
key_id = "my_id" # B2 application key keyID | ||
application_key = ".my_key" # B2 application key applicationKey | ||
bucket = "bucket_name" # B2 bucket name | ||
bucket_id = "bucket_id" # B2 bucket_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# rustic config file to use s3 storage | ||
# Note that this internally uses opendal S3 service, see https://opendal.apache.org/docs/rust/opendal/services/struct.S3.html | ||
# where endpoint, bucket and root are extracted from the repository URL. | ||
[repository] | ||
repository = "s3:https://s3.amazonaws.com/bucket/my/repopath" | ||
password = "mypassword" | ||
|
||
# Other options can be given here - note that opendal also support reading config from env files or AWS config dirs, see the opendal S3 docu | ||
[repository.options] | ||
region = "us-east-1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# rustic config file to use sftp storage | ||
# Note: | ||
# - currently sftp only works on unix | ||
# - Using sftp with password is not supported yet, use key authentication, e.g. use | ||
# ssh-copy-id user@host | ||
[repository] | ||
repository = "sftp:user@host:/repo" | ||
password = "mypassword" |
Oops, something went wrong.