Updated doc to reflect that the repo is not cloned directly in /etc

This commit is contained in:
Antoine Lima 2022-08-11 09:16:16 +00:00
parent 192fd21dc5
commit aff169fd40
2 changed files with 11 additions and 4 deletions

3
.gitignore vendored
View File

@ -1,3 +0,0 @@
.autorestic.env
.autorestic.lock.yml
*.swp

View File

@ -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).