You've already forked proxmox-backup
update user / password / host / docker for mysql / mariadb / postgresql
This commit is contained in:
@@ -15,8 +15,8 @@ Custom backup script
|
||||
The custom script :
|
||||
- copy & compress the entire system
|
||||
- extract informations from your system (packages list, crontab, partition table, etc)
|
||||
- can dump MySQL database(s)
|
||||
- can dump MariaDB database(s)
|
||||
- can dump MySQL database(s), including routines/events/triggers
|
||||
- can dump MariaDB database(s), including routines/events/triggers
|
||||
- can dump PostgreSQL database(s)
|
||||
|
||||
All files are then send it to a custom Proxmox Backup Server.
|
||||
@@ -39,9 +39,24 @@ Role variables
|
||||
| backup_local_retention | string | | | mandatory |
|
||||
| backup_path_include | list | | | |
|
||||
| backup_path_exclude | list | | | |
|
||||
| backup_mysql_enabled | boolean | | | uses mysqldump |
|
||||
| backup_mariadb_enabled | boolean | | | uses mariadb-dump |
|
||||
| backup_mysql_enabled | boolean | | | uses mysqldump with routines/events/triggers |
|
||||
| backup_mysql_host | string | | | optional |
|
||||
| backup_mysql_user | string | | | optional |
|
||||
| backup_mysql_password | string | | | optional |
|
||||
| backup_mysql_docker_enabled | boolean | | false | run mysql in docker |
|
||||
| backup_mysql_docker_container | string | | | required if docker enabled |
|
||||
| backup_mariadb_enabled | boolean | | | uses mariadb-dump with routines/events/triggers |
|
||||
| backup_mariadb_host | string | | | optional |
|
||||
| backup_mariadb_user | string | | | optional |
|
||||
| backup_mariadb_password | string | | | optional |
|
||||
| backup_mariadb_docker_enabled | boolean | | false | run mariadb in docker |
|
||||
| backup_mariadb_docker_container | string | | | required if docker enabled |
|
||||
| backup_pgsql_enabled | boolean | | | |
|
||||
| backup_pg_host | string | | | optional |
|
||||
| backup_pg_user | string | | | optional |
|
||||
| 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_cron_minute | int | | | |
|
||||
| backup_cron_hour | int | | | |
|
||||
|
||||
@@ -85,8 +100,25 @@ backup_path_exclude:
|
||||
- cache/
|
||||
|
||||
backup_mysql_enabled: true
|
||||
backup_mysql_host: ''
|
||||
backup_mysql_user: ''
|
||||
backup_mysql_password: ''
|
||||
backup_mysql_docker_enabled: false
|
||||
backup_mysql_docker_container: ''
|
||||
|
||||
backup_mariadb_enabled: true
|
||||
backup_mariadb_host: ''
|
||||
backup_mariadb_user: ''
|
||||
backup_mariadb_password: ''
|
||||
backup_mariadb_docker_enabled: true
|
||||
backup_mariadb_docker_container: 'mariadb'
|
||||
|
||||
backup_pgsql_enabled: true
|
||||
backup_pg_host: ''
|
||||
backup_pg_user: ''
|
||||
backup_pg_password: ''
|
||||
backup_pg_docker_enabled: false
|
||||
backup_pg_docker_container: ''
|
||||
|
||||
backup_cron_minute: 30
|
||||
backup_cron_hour: 5
|
||||
|
||||
Reference in New Issue
Block a user