You've already forked proxmox-backup
add backup option for gitea
This commit is contained in:
@@ -18,6 +18,7 @@ The custom script :
|
||||
- can dump MySQL database(s), including routines/events/triggers
|
||||
- can dump MariaDB database(s), including routines/events/triggers
|
||||
- can dump PostgreSQL database(s)
|
||||
- can dump Gitea data
|
||||
|
||||
All files are then send it to a custom Proxmox Backup Server.
|
||||
|
||||
@@ -57,6 +58,11 @@ Role variables
|
||||
| backup_pg_password | string | | | optional |
|
||||
| backup_pg_docker_enabled | boolean | | false | run postgresql in docker |
|
||||
| backup_pg_docker_container| string | | | required if docker enabled |
|
||||
| backup_gitea_enabled | boolean | | false | enable gitea dump |
|
||||
| backup_gitea_config | string | | /data/gitea/conf/app.ini | gitea app.ini path |
|
||||
| backup_gitea_docker_enabled | boolean | | false | run gitea dump in docker |
|
||||
| backup_gitea_docker_container | string | | | required if docker enabled |
|
||||
| backup_gitea_docker_workdir | string | | | optional container workdir |
|
||||
| backup_cron_minute | int | | | |
|
||||
| backup_cron_hour | int | | | |
|
||||
|
||||
@@ -120,6 +126,12 @@ backup_pg_password: ''
|
||||
backup_pg_docker_enabled: false
|
||||
backup_pg_docker_container: ''
|
||||
|
||||
backup_gitea_enabled: true
|
||||
backup_gitea_config: '/data/gitea/conf/app.ini'
|
||||
backup_gitea_docker_enabled: true
|
||||
backup_gitea_docker_container: 'gitea'
|
||||
backup_gitea_docker_workdir: '/backup/today/gitea'
|
||||
|
||||
backup_cron_minute: 30
|
||||
backup_cron_hour: 5
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user