This commit is contained in:
Niccolo Borgioli 2023-07-09 17:48:19 +02:00
commit 732f728ff8
No known key found for this signature in database
GPG Key ID: D93C615F75EE4F0B
3 changed files with 22 additions and 0 deletions

3
examples/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
data*
repo*
.autorestic.lock

View File

@ -0,0 +1,2 @@
AUTORESTIC_REPOS_FOO_KEY=abc
AUTORESTIC_REPOS_FOO_ENV_B2__ACCOUNT__ID=abc

View File

@ -0,0 +1,17 @@
# yaml-language-server: $schema=../../schema/config.json
version: 3
repos:
foo:
type: local
path: ./repo
# key: foobar
# remote:
# type: rest
# path: https://${USER}:$PASS@example.org:8000/my_backup_repo/
# key: password
locations:
bar:
from: ./data
to: foo