update readme
This commit is contained in:
@@ -78,14 +78,20 @@ specifics for everything
|
|||||||
|
|
||||||
## backups
|
## backups
|
||||||
|
|
||||||
- backups are done with [vykar](https://vykar.borgbase.com) to [borgbase](https://borgbase.com)
|
backups are done with [vykar](https://vykar.borgbase.com) to [borgbase](https://borgbase.com)
|
||||||
|
|
||||||
|
**creating**
|
||||||
- if on a new borgbase repo, run `vykar init` first
|
- if on a new borgbase repo, run `vykar init` first
|
||||||
|
- to back up, run `sudo vykar backup` (sudo required as we are accessing `/var/lib/docker/volumes/`)
|
||||||
- to back up automatically, run `sudo EDITOR=micro crontab -e` and add the following:
|
- to back up automatically, run `sudo EDITOR=micro crontab -e` and add the following:
|
||||||
```
|
```
|
||||||
TZ=UTC
|
TZ=UTC
|
||||||
0 * * * * /home/admin/thingy/scripts/volume-backup.sh
|
0 * * * * /home/admin/thingy/scripts/volume-backup.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**restoring**
|
||||||
|
- to restore the backup, run `vykar list` to find a snapshot to use, then `sudo vykar restore abcd1234 /var/lib/docker/volumes/`
|
||||||
|
|
||||||
## todo
|
## todo
|
||||||
- further secure the server (ratelimiting, hardening...)
|
- further secure the server (ratelimiting, hardening...)
|
||||||
- more services
|
- more services
|
||||||
|
|||||||
Reference in New Issue
Block a user