Compare commits
2 Commits
413c629806
...
aff169fd40
Author | SHA1 | Date | |
---|---|---|---|
aff169fd40 | |||
192fd21dc5 |
@ -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
3
.gitignore
vendored
@ -1,3 +0,0 @@
|
||||
.autorestic.env
|
||||
.autorestic.lock.yml
|
||||
*.swp
|
12
README.md
12
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).
|
||||
|
Loading…
x
Reference in New Issue
Block a user