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:
ayurishchevandClaude Sonnet 5.5 committed 2026-10-07 09:38:09 +03:00
1 parent d29c261347
commit f8cdcd0fc6
55 files changed
+4401 -37

No files matched your search

+4 -3
View File
@@ -55,14 +55,15 @@ RUN rm -f /etc/nginx/http.d/default.conf \
COPY deploy/allinone/supervisord.conf /etc/supervisord.conf
COPY deploy/allinone/entrypoint.sh /usr/local/bin/ovpmon-entrypoint.sh
# Mount points of the five named volumes
# Mount points of the five data volumes and of the backup packages volume (ovp_backups)
RUN chmod +x /usr/local/bin/ovpmon-entrypoint.sh \
&& mkdir -p /app/db /app/easy-rsa /app/client-config /etc/openvpn /var/log/openvpn
&& mkdir -p /app/db /app/easy-rsa /app/client-config /app/backups /etc/openvpn /var/log/openvpn
# Default database locations (the compose file sets the same values)
ENV 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_OPENVPN_MONITOR_LOG_PATH=/var/log/openvpn/openvpn-status.log \
OVPMON_BACKUP_LOCAL_ROOT=/app/backups
EXPOSE 80
EXPOSE 1194/udp