{
    "_comment": "Copy to backup-config.json next to windows-sqlserver.ps1 and fill in. Delete the _help keys if you like; they are ignored.",

    "SetPrefix": "myserver",

    "_help_SqlInstance": "SQL Server instance to back up, e.g. .\\SQLEXPRESS — empty string skips SQL entirely (files-only backup)",
    "SqlInstance": ".\\SQLEXPRESS",
    "ExcludeDatabases": [],

    "_help_Folders": "Folders to include in the archive (in addition to the SQL dumps)",
    "Folders": ["C:\\inetpub\\wwwroot"],

    "StagingDir": "C:\\server-backups",

    "_help_ArchivePassword": "AES-256 password for the 7z set — WITHOUT it the backup cannot be restored; store it in your password manager, not only on this server",
    "ArchivePassword": "<strong-archive-password>",
    "VolumeSizeMB": 500,

    "_help_Upload": "Protocol: Ftp (with FtpSecure None/Explicit/Implicit) or Sftp (needs SshHostKeyFingerprint). TlsCertificateFingerprint pins a shared host's FTPS cert (shown by the WinSCP GUI).",
    "Upload": {
        "Protocol": "Ftp",
        "HostName": "backups.example.com",
        "UserName": "backupuser",
        "Password": "<ftp-password>",
        "RemoteDir": "/",
        "FtpSecure": "Explicit",
        "TlsCertificateFingerprint": "",
        "SshHostKeyFingerprint": ""
    },

    "Retention": {
        "WeeklyDays": 28,
        "MonthlyDays": 180,
        "KeepLocalSets": 1
    },

    "_help_MonitorSpider": "Create a 'Backup (push)' monitor at https://monitorspider.com/dashboard/ and paste its ping URL here — you get an alert when a backup fails or silently stops running",
    "MonitorSpider": {
        "PingUrl": "https://monitorspider.com/srv/backup-ping?id=YOUR_MONITOR_ID&token=YOUR_INGEST_TOKEN"
    },

    "_help_tools": "Optional explicit tool paths; by default the script uses .\\tools (populated by preflight.ps1 -Install), then PATH / Program Files",
    "SevenZipPath": "",
    "WinScpDllPath": "",
    "SqlcmdPath": ""
}
