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

+6 -1
View File
@@ -11,7 +11,12 @@ COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Ensure DB directory exists
RUN mkdir -p /app/db
RUN mkdir -p /app/db /app/backups
# Migrations of the monitoring database (standard library only), from the build context 'core'
# (additional_contexts in docker-compose.yml). A restore migrates the package copy with them.
COPY --from=core migrations.py migrate.py db.py /opt/core/
ENV OVPMON_CORE_DIR=/opt/core
# Copy source code and entrypoint
COPY . .