commit 732f728ff82879984855766e51689097cebdb0ac Author: Niccolo Borgioli Date: Sun Jul 9 17:48:19 2023 +0200 examples diff --git a/examples/.gitignore b/examples/.gitignore new file mode 100644 index 0000000..3fdf619 --- /dev/null +++ b/examples/.gitignore @@ -0,0 +1,3 @@ +data* +repo* +.autorestic.lock diff --git a/examples/simple/.autorestic.env b/examples/simple/.autorestic.env new file mode 100644 index 0000000..dbdaaac --- /dev/null +++ b/examples/simple/.autorestic.env @@ -0,0 +1,2 @@ +AUTORESTIC_REPOS_FOO_KEY=abc +AUTORESTIC_REPOS_FOO_ENV_B2__ACCOUNT__ID=abc diff --git a/examples/simple/autorestic.yaml b/examples/simple/autorestic.yaml new file mode 100644 index 0000000..02c3089 --- /dev/null +++ b/examples/simple/autorestic.yaml @@ -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