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,10 @@
|
||||
from fastapi import HTTPException
|
||||
|
||||
from services import pki
|
||||
|
||||
|
||||
def forbid_during_restore():
|
||||
"""Dependency of the routes that change the PKI, the profiles or the settings: 409 while a
|
||||
backup restore replaces them."""
|
||||
if pki.is_restore_running():
|
||||
raise HTTPException(status_code=409, detail=pki.RESTORE_RUNNING_MSG)
|
||||
Reference in new issue
Block a user