mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-11-05 21:24:11 +01:00
1.9 KiB
1.9 KiB
Available Backends
In theory all the restic backends are supported.
Those tested are the following:
Local
backends:
name-of-backend:
type: local
path: /data/my/backups
Backblaze
backends:
name-of-backend:
type: b2
path: 'myAccount:myBucket/my/path'
env:
B2_ACCOUNT_ID: backblaze_account_id
B2_ACCOUNT_KEY: backblaze_account_key
API Keys gotcha
When creating API make sure you check Allow List All Bucket Names if you allow access to a single bucket only. Also make sure that the File name prefix (if used) does not includes a leading slash.
S3 / Minio
backends:
name-of-backend:
type: s3
path: s3.amazonaws.com/bucket_name
# Minio
# path: http://localhost:9000/bucket_name
env:
AWS_ACCESS_KEY_ID: my_key
AWS_SECRET_ACCESS_KEY: my_secret
SFTP
For SFTP to work you need to use configure your host inside of ~/.ssh/config as password prompt is not supported. For more information on this topic please see the official docs on the matter.
backends:
name-of-backend:
type: sftp
path: my-host:/remote/path/on/the/server
Rest Server
See here for how to install a rest server backend and here for further documentation.
backends:
name-of-backend:
type: rest
path: http://localhost:8000/repo_name
# Or authenticated
path: https://user:pass@host:6969/path
Optionally you can set user and password separately
backends:
rest:
type: rest
path: http://localhost:6969/path
key: ...
rest:
user: user
password: pass
:ToCPrevNext