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
@@ -0,0 +1,21 @@
|
||||
"""Backup and restore of the application data (databases, PKI, client profiles).
|
||||
|
||||
Modules:
|
||||
package.py package format (tar.gz + manifest), snapshots, safe extraction
|
||||
crypto.py optional package encryption (AES-256-GCM, scrypt)
|
||||
destinations.py where packages go: common interface, local folder and S3 (minio)
|
||||
store.py settings, destinations and history in a separate SQLite file
|
||||
engine.py backup job and restore engine (one background job at a time)
|
||||
"""
|
||||
|
||||
|
||||
class BackupError(Exception):
|
||||
"""A backup or restore step failed. The message is safe to show to the user (no secrets)."""
|
||||
|
||||
|
||||
class Invalid(BackupError):
|
||||
"""The request cannot be accepted as it is (API: 400)."""
|
||||
|
||||
|
||||
class Busy(BackupError):
|
||||
"""Another backup or restore job is running (API: 409)."""
|
||||
Reference in new issue
Block a user