Absolutely! Here’s a very long, realistic dummy config.json for a backup or server environment. This example includes a variety of plausible settings, schedules, credentials (dummy), retention policies, notification settings, and more. You can copy and paste this as-is, or modify as needed.
{
"backup": {
"enabled": true,
"type": "full",
"compression": true,
"encryption": {
"enabled": true,
"algorithm": "AES-256",
"key": "dummykey1234567890abcdef"
},
"source": {
"vm_name": "SQLServer-01",
"disks": [
"C:",
"D:"
],
"include_system_state": true,
"exclude_paths": [
"C:\\Temp",
"D:\\Downloads"
]
},
"destination": {
"path": "D:\\Backups\\SQLBackups\\",
"max_backup_size_gb": 100,
"split_archives": false,
"network_share": {
"enabled": false,
"path": "",
"username": "",
"password": ""
}
},
"retention_policy": {
"max_backups": 7,
"max_age_days": 30,
"delete_oldest_first": true
},
"schedule": {
"enabled": true,
"frequency": "weekly",
"days": [
"Sunday"
],
"time": "02:00",
"timezone": "UTC"
},
"pre_backup_script": {
"enabled": true,
"path": "C:\\Scripts\\pre_backup.ps1"
},
"post_backup_script": {
"enabled": true,
"path": "C:\\Scripts\\post_backup.ps1"
},
"verify_backup": true,
"checksum": "SHA256",
"throttle": {
"enabled": true,
"max_mbps": 100
}
},
"notification": {
"email": {
"enabled": true,
"smtp_server": "smtp.example.com",
"smtp_port": 587,
"use_tls": true,
"username": "backup-notify@example.com",
"password": "dummyemailpassword",
"from": "backup-notify@example.com",
"to": [
"admin1@example.com",
"admin2@example.com"
],
"on_success": true,
"on_failure": true,
"on_warning": true
},
"slack": {
"enabled": false,
"webhook_url": ""
}
},
"logging": {
"level": "info",
"log_to_file": true,
"log_file_path": "D:\\Backups\\SQLBackups\\backup.log",
"max_log_size_mb": 50,
"log_rotation": true,
"log_retention_days": 60
},
"error_handling": {
"retry_attempts": 3,
"retry_delay_seconds": 60,
"continue_on_warning": true,
"abort_on_error": false
},
"maintenance": {
"cleanup_old_backups": true,
"cleanup_time": "05:00",
"verify_integrity_after_cleanup": true
},
"database": {
"type": "mssql",
"host": "localhost",
"port": 1433,
"username": "sa",
"password": "dummydbpassword",
"databases": [
"master",
"model",
"msdb",
"TestDB",
"ProductionDB"
],
"exclude_databases": [
"tempdb"
],
"backup_method": "VSS"
},
"virtual_machine": {
"hypervisor": "Hyper-V",
"vm_id": "vm-123456",
"snapshot_enabled": true,
"snapshot_quiesce": true,
"snapshot_timeout_minutes": 10
},
"alerts": {
"disk_space_threshold_gb": 10,
"cpu_usage_threshold_percent": 90,
"memory_usage_threshold_percent": 90,
"notify_on_threshold": true
},
"advanced": {
"custom_backup_tags": [
"nightly",
"critical",
"sqlserver"
],
"enable_debug_mode": false,
"use_alternate_temp_path": false,
"alternate_temp_path": "C:\\BackupTemp"
},
"api": {
"enabled": true,
"listen_address": "127.0.0.1",
"port": 8080,
"auth_token": "dummyapitoken123456"
},
"version": "2.4.1",
"last_modified": "2024-10-27T04:31:00Z",
"created_by": "admin",
"notes": "This is a dummy configuration file for SQLServer backup automation. All credentials and paths are placeholders."
}