Compare commits

...

2 Commits

3 changed files with 22 additions and 4 deletions

View File

@ -38,6 +38,17 @@ locations:
forget:
keep-weekly: 5
bludit:
from:
- /var/www/bludit/bl-content/pages/
to:
- hdd
- glacier
cron: '0 3 * * 4' # At 3:00am on Thursday
options:
forget:
keep-weekly: 5
gitea:
from: /mnt/ssd/backup-working/gitea
to:

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