add sshportal backup

This commit is contained in:
Ludovic Cartier
2026-05-27 18:42:30 +02:00
parent 7a953d3b77
commit 0df97444c7
2 changed files with 33 additions and 0 deletions
+14
View File
@@ -19,6 +19,7 @@ The custom script :
- can dump MariaDB database(s), including routines/events/triggers
- can dump PostgreSQL database(s)
- can dump Gitea data
- can dump sshportal data
All files are then send it to a custom Proxmox Backup Server.
@@ -64,6 +65,12 @@ Role variables
| backup_gitea_docker_container | string | | | required if docker enabled |
| backup_gitea_docker_workdir | string | | /backup | container workdir where gitea dump is generated |
| backup_gitea_docker_host_temp_dir | string | | {{ backup_dir }}/temp | host temp dir mounted in container |
| backup_sshportal_enabled | boolean | | false | enable sshportal backup |
| backup_sshportal_db_path | string | | /var/lib/docker/volumes/sshportal__var_lib_sshportal/_data/sshportal.db | sqlite db path |
| backup_sshportal_ssh_host | string | | localhost | ssh host |
| backup_sshportal_ssh_port | string | | 2222 | ssh port |
| backup_sshportal_ssh_user | string | | admin | ssh user |
| backup_sshportal_ssh_key | string | | /opt/docker-compose/sshportal/ed25519_sshportal_admin | ssh private key |
| backup_cron_minute | int | | | |
| backup_cron_hour | int | | | |
@@ -132,6 +139,13 @@ backup_gitea_config: '/data/gitea/conf/app.ini'
backup_gitea_docker_enabled: true
backup_gitea_docker_container: 'gitea'
backup_sshportal_enabled: true
backup_sshportal_db_path: '/var/lib/docker/volumes/sshportal__var_lib_sshportal/_data/sshportal.db'
backup_sshportal_ssh_host: 'localhost'
backup_sshportal_ssh_port: '2222'
backup_sshportal_ssh_user: 'admin'
backup_sshportal_ssh_key: '/opt/docker-compose/sshportal/ed25519_sshportal_admin'
backup_cron_minute: 30
backup_cron_hour: 5
```