From aff169fd405a624f793759b67e107e789dc50925 Mon Sep 17 00:00:00 2001 From: Antoine Lima Date: Thu, 11 Aug 2022 09:16:16 +0000 Subject: [PATCH] Updated doc to reflect that the repo is not cloned directly in /etc --- .gitignore | 3 --- README.md | 12 +++++++++++- 2 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 21130b1..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.autorestic.env -.autorestic.lock.yml -*.swp diff --git a/README.md b/README.md index 297dc58..46d6e44 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,14 @@ Configuration (autorestic, cron) for the backup of [sagou.in](sagou.in). Refer to the [dedicated wiki page](https://wiki.sagou.in/tech:backup#autorestic). -Once initialized, move the repository keys into a `.autorestic.env` file along the `yml` as described in [the doc](https://autorestic.vercel.app/backend/env). + +## Installation +To install, clone the repo, create the `/etc/autorestic` folder and symbolically link +```bash +git clone https://git.sagou.in/sagou.in/Autorestic +cd Autorestic +mkdir /etc/autorestic +ln -s $(pwd)/autorestic/{.autorestic.yml,runcron,runforget} /etc/autorestic +``` + +Once initialized, move the repository keys into a `/etc/autorestic/.autorestic.env` file as described in [the doc](https://autorestic.vercel.app/backend/env).