-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.yaml.sample
72 lines (61 loc) · 3.72 KB
/
global.yaml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Global configuration for RouterOS Backup NG
# Parent directory for storing backups (required)
backup_path_parent: backups
# Days to keep backups, -1 for infinite (optional, default: 90)
#backup_retention_days: 90
# Global backup password (optional)
backup_password: your-global-backup-password
# Timezone for timestamps (optional, default: system timezone)
# Examples: 'Asia/Manila', 'Europe/Berlin', 'America/New_York'
#timezone: Europe/Berlin
# SSH settings
ssh:
user: rosbackup # Default SSH username (required)
#timeout: 5 # Connection timeout (optional, default: 5)
#auth_timeout: 5 # Authentication timeout (optional, default: 5)
#known_hosts_file: null # Known hosts file path (optional)
#add_target_host_key: true # Auto-add target host keys (optional, default: true)
# SSH connection arguments
args:
#look_for_keys: false # Search for SSH keys in ~/.ssh/ (optional, default: false)
#allow_agent: false # Allow SSH agent forwarding (optional, default: false)
#compress: true # Enable SSH compression (optional, default: true)
#auth_timeout: 5 # SSH auth timeout (optional, default: 5)
#channel_timeout: 5 # SSH channel timeout (optional, default: 5)
#disabled_algorithms: # Dict of algorithms to disable (optional)
#pubkeys: ["rsa-sha1"] # Disable specific algorithms
#keepalive_interval: 60 # Keepalive interval (optional, default: 60)
#keepalive_countmax: 3 # Max failed keepalives (optional, default: 3)
# Performance Settings
#parallel_execution: true # Enable parallel backups (optional, default: true)
#max_parallel_backups: 5 # Maximum concurrent backups (optional, default: 5)
# Temporary Storage Settings
tmpfs:
enabled: true # Use tmpfs for temporary storage (default: true)
fallback_enabled: true # Fall back to root storage if tmpfs fails (default: true)
size_auto: true # Calculate size based on available memory (default: true)
size_mb: 50 # Fixed size in MB when size_auto is false (default: 50)
min_size_mb: 1 # Minimum size in MB for auto calculation (default: 1)
max_size_mb: 50 # Maximum size in MB for auto calculation (default: 50)
mount_point: "rosbackup" # Mount point name for tmpfs (default: "rosbackup")
# Logging Settings
#log_file_enabled: false # Enable logging to file (optional, default: false)
#log_file: ./rosbackup.log # Log file path (optional if log_file_enabled is false)
#log_level: INFO # Logging level (optional, default: INFO)
#log_retention_days: 90 # Days to keep logs (optional, default: 90)
# Notification Settings
#notifications_enabled: false # Enable notifications (optional, default: false)
#notify_on_failed_backups: true # Notify on failures (optional, default: true)
#notify_on_successful_backups: false # Notify on success (optional, default: false)
# SMTP Settings
#smtp:
# enabled: false # Enable SMTP (required if notifications enabled)
# host: smtp.example.com # SMTP server hostname (required if smtp enabled)
# port: 587 # SMTP server port (required if smtp enabled)
# username: [email protected] # SMTP username (required if smtp enabled)
# password: your-smtp-password # SMTP password (required if smtp enabled)
# from_email: [email protected] # Sender email (required if smtp enabled)
# to_emails: # List of recipients (required if smtp enabled)
# use_tls: true # Use STARTTLS (optional, default: true)
# use_ssl: false # Use SSL/TLS (optional, default: false)