update README

This commit is contained in:
CPunch 2023-02-03 15:43:52 -06:00
parent bea9cb3592
commit 3047267d19
1 changed files with 13 additions and 1 deletions

View File

@ -3,7 +3,7 @@
This is my failsafe (and also my helpful migration tool) for restoring the OpenPunk server. This handles setting everything back up, including:
- gitea
- sadly, no db migration is supported right now. maybe a future todo?
- backup and restoring are also supported
- blog
- cron job for grabbing the `HEAD` of https://github.com/CPunch/openpunk && building the hugo site
- tor mirror
@ -30,6 +30,18 @@ ansible-playbook -i hosts --ask-vault-pass run.yml
```
> NOTE: The 'secrets' directory has been omitted from this repo (so it's not going to run without the provided files)
## Backup and restore
Backup Gitea using the 'backup' tag
```sh
ansible-playbook -i hosts run.yml --tags backup
```
then, restore from the backup using the 'restore' tag
```sh
ansible-playbook -i hosts run.yml --tags restore
```
## Example hosts file
```
[hosts]