refactor: update README and templates for improved backup configuration and logging

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Ludovic Cartier
2026-05-15 11:28:07 +02:00
parent 0ef6ae2bac
commit ea052ef0b9
4 changed files with 74 additions and 52 deletions
+22 -25
View File
@@ -23,28 +23,26 @@ All files are then send it to a custom Proxmox Backup Server.
Role variables
---------------
| Variable | Type | Choices | Default | Comment |
|---------------------------|---------|------------------|--------------------------------------------------------------------------------------|-----------------|
| pbs_debian_release_name | string | | bookworm | |
| pbs_repo_key | string | | https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg | |
| pbs_repo_no_subscription | string | | deb http://download.proxmox.com/debian/pbs-client {{ pbs_debian_release_name }} main | |
| pbs_user | string | | | mandatory |
| pbs_server | string | | | mandatory |
| pbs_datastore | string | | | mandatory |
| pbs_fingerprint | string | | | mandatory |
| pbs_password | string | | | mandatory |
| backup_host_id | string | | | |
| backup_dir | string | | | mandatory |
| backup_local_retention | string | | | mandatory |
| backup_path_include | dict | | | |
| - path: /etc list | string | | | |
| - path: /var/www list | string | | | |
| fs_mount: true list | boolean | | | |
| backup_path_exclude | list | | | |
| backup_mysql_enabled | boolean | | | |
| backup_postgreslq_enabled | boolean | | | |
| backup_cron_minute | int | | | |
| backup_cron_hour | int | | | |
| Variable | Type | Choices | Default | Comment |
|---------------------------|---------|------------------|--------------------------------------------------------------------------------------|-------------------|
| pbs_debian_release_name | string | | bookworm | |
| pbs_repo_key | string | | https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg | |
| pbs_repo_no_subscription | string | | deb http://download.proxmox.com/debian/pbs-client {{ pbs_debian_release_name }} main | |
| pbs_user | string | | | mandatory |
| pbs_server | string | | | mandatory |
| pbs_datastore | string | | | mandatory |
| pbs_fingerprint | string | | | mandatory |
| pbs_password | string | | | mandatory |
| backup_host_id | string | | | |
| backup_dir | string | | | mandatory |
| 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_pgsql_enabled | boolean | | | |
| backup_cron_minute | int | | | |
| backup_cron_hour | int | | | |
Dependencies
------------
@@ -77,9 +75,8 @@ backup_dir: /backup
backup_local_retention: 2
backup_path_include:
- path: /etc
- path: /var/www
fs_mount: true
- /etc
- /var/www
backup_path_exclude:
- /var/backups