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