From f77e6dc70b08ac14e84e42c356b368d0ad195fc6 Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 2 Jan 2026 01:54:52 +0100 Subject: [PATCH] Add backup system configuration settings --- VERSION | 2 +- app/core/config.py | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index e08774e..94705af 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3.67 \ No newline at end of file +1.3.68 \ No newline at end of file diff --git a/app/core/config.py b/app/core/config.py index bf7ea39..e1ed2a0 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -100,6 +100,21 @@ class Settings(BaseSettings): SIMPLYCRM_USERNAME: str = "" SIMPLYCRM_API_KEY: str = "" + # Backup System Configuration + BACKUP_STORAGE_PATH: str = "/app/backups" + BACKUP_DRY_RUN: bool = False + BACKUP_RETENTION_DAYS: int = 30 + BACKUP_RETENTION_MONTHLY: int = 12 + + # Offsite Backup Settings (SFTP) + OFFSITE_ENABLED: bool = False + SFTP_HOST: str = "" + SFTP_PORT: int = 22 + SFTP_USER: str = "" + SFTP_PASSWORD: str = "" + SFTP_REMOTE_PATH: str = "/backups" + SSH_KEY_PATH: str = "" + # Deployment Configuration (used by Docker/Podman) POSTGRES_USER: str = "bmc_hub" POSTGRES_PASSWORD: str = "bmc_hub"