mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2024-09-07 21:02:03 +00:00
update README
This commit is contained in:
parent
bea9cb3592
commit
3047267d19
14
README.md
14
README.md
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user