mirror of
https://gitlab.com/futile/thingy.git
synced 2026-07-21 08:10:07 +00:00
update readme
This commit is contained in:
@@ -78,14 +78,20 @@ specifics for everything
|
||||
|
||||
## 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
|
||||
- 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:
|
||||
```
|
||||
TZ=UTC
|
||||
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
|
||||
- further secure the server (ratelimiting, hardening...)
|
||||
- more services
|
||||
|
||||
Reference in New Issue
Block a user