1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00

Add some more specific examples for remotes that are supported

This commit is contained in:
Usman Iqbal 2023-08-23 20:57:10 +01:00
parent a291a09cce
commit b2c597722f

View file

@ -113,10 +113,33 @@ restic_repos:
location: /srv/restic-repo location: /srv/restic-repo
password: securepassword1 password: securepassword1
init: true init: true
remote: sftp:
location: sftp:user@host:/srv/restic-repo location: sftp:user@host:/srv/restic-repo
password: securepassword2 password: securepassword2
init: true init: true
aws:
location: s3:s3.amazonaws.com/bucket_name
password: securepassword3
init: true
aws_access_key: accesskey
aws_secret_access_key: secretaccesskey
aws_default_region: eu-west-1
azure:
location: azure:container:/
password: securepassword4
init: true
azure_account_name: storageaccountname
# Only one of the following are required
azure_account_key: somekey
azure_account_sas: sasurl
# Optional
azure_endpoint_suffix: core.windows.net
b2:
location: b2:bucketname:path/to/repo
password: securepassword5
init: true
b2_account_id: accountid
b2_account_key: accountkey
``` ```
### Backups ### Backups