Files
bak-and-rest/config/config.example.toml

74 lines
1.3 KiB
TOML

[service]
autostart = true
[tray]
autostart = true
[watch]
target_user = ""
include_dirs = [
"%USERPROFILE%\\Desktop",
"%USERPROFILE%\\Documents",
"%USERPROFILE%\\Pictures",
"%USERPROFILE%\\Videos",
]
include_extensions = [
".jpg",
".jpeg",
".png",
".pdf",
".mp4",
".mov",
]
exclude_dirs = [
"%WINDIR%",
"%PROGRAMFILES%",
"%PROGRAMFILES(X86)%",
"%APPDATA%",
"%LOCALAPPDATA%",
"%TEMP%",
"$Recycle.Bin",
"System Volume Information",
"node_modules",
".git",
"__pycache__",
]
exclude_patterns = [
"~$*",
"*.tmp",
"*.bak",
"*.crdownload",
"*.part",
"*.lock",
]
[backup]
engine = "robocopy"
server_host = "backup-server"
remote_destinations = [
"\\\\backup-server\\BakRest1",
"\\\\backup-server\\BakRest2",
]
remote_destination = "\\\\backup-server\\BakRest1"
rsync_path = "rsync"
robocopy_path = "robocopy"
shutdown_on_success = true
shutdown_command = "shutdown /s /t 0"
[backup.server_check]
type = "tcp"
port = 445
interval_seconds = 1800
timeout_seconds = 3
[stability]
min_age_seconds = 60
unchanged_check_interval_seconds = 5
unchanged_checks_required = 2
[storage]
change_registry = "%PROGRAMDATA%\\BakRest\\changes.sqlite"
logs_dir = "%PROGRAMDATA%\\BakRest\\logs"
status_file = "%PROGRAMDATA%\\BakRest\\status.json"
notifier_state_file = "%PROGRAMDATA%\\BakRest\\notifier-state.json"