From 732f728ff82879984855766e51689097cebdb0ac Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Sun, 9 Jul 2023 17:48:19 +0200 Subject: [PATCH] examples --- examples/.gitignore | 3 +++ examples/simple/.autorestic.env | 2 ++ examples/simple/autorestic.yaml | 17 +++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 examples/.gitignore create mode 100644 examples/simple/.autorestic.env create mode 100644 examples/simple/autorestic.yaml 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