16 lines
603 B
Markdown
16 lines
603 B
Markdown
# Backup
|
|
|
|
Configuration (autorestic, cron) for the backup of [sagou.in](sagou.in).
|
|
Refer to the [dedicated wiki page](https://wiki.sagou.in/tech:backup#autorestic).
|
|
|
|
## 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).
|