Backup and Restore: packages, Local/S3/SFTP/FTP destinations, UI and API
Encrypted packages (databases, PKI, client profiles) with safe restore and a pre-restore safety copy, usable for server-to-server migration across container and system-service installs. New Management page, ovp_backups volume, migrations code in the profiler image, server name in package names. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d29c261347
commit
f8cdcd0fc6
55 files changed
+4401
-37
No files matched your search
@@ -6,8 +6,10 @@
|
||||
# Install/update with the scripts in deploy/docker (see DOCS/Deployment/Containers/README.md)
|
||||
#
|
||||
# Variants A (this file) and B (docker-compose.yml) publish the same host ports and use fixed
|
||||
# container names (ovp-*): run only ONE variant per host. Both use the same five volumes with the
|
||||
# container names (ovp-*): run only ONE variant per host. Both use the same five data volumes with the
|
||||
# same in-container paths, so backups are identical and data of one variant can be used by the other.
|
||||
# The sixth volume ovp_backups (local packages of the Backup and Restore page) is not a data volume:
|
||||
# deploy/docker backup.sh and update.sh do not copy it.
|
||||
|
||||
services:
|
||||
ovpmon:
|
||||
@@ -33,12 +35,14 @@ services:
|
||||
- ovp_pki:/app/easy-rsa
|
||||
- ovp_client_config:/app/client-config
|
||||
- db_data:/app/db
|
||||
- ovp_backups:/app/backups
|
||||
environment:
|
||||
OVPMON_API_SECRET_KEY: ${JWT_SECRET:?JWT_SECRET must be set in .env (openssl rand -hex 32)}
|
||||
OVPMON_API_PORT: 5001
|
||||
OVPMON_PROFILER_DB_PATH: /app/db/ovpn_profiler.db
|
||||
OVPMON_OPENVPN_MONITOR_DB_PATH: /app/db/openvpn_monitor.db
|
||||
OVPMON_OPENVPN_MONITOR_LOG_PATH: /var/log/openvpn/openvpn-status.log
|
||||
OVPMON_BACKUP_LOCAL_ROOT: /app/backups
|
||||
OVPMON_LOGGING_LEVEL: INFO
|
||||
# Initial admin: used only while the users table is empty (remove after first start)
|
||||
OVPMON_INITIAL_ADMIN_USER: ${OVPMON_INITIAL_ADMIN_USER:-}
|
||||
@@ -62,3 +66,4 @@ volumes:
|
||||
ovp_pki:
|
||||
ovp_client_config:
|
||||
db_data:
|
||||
ovp_backups:
|
||||
Reference in new issue
Block a user