66 lines
1.1 KiB
TOML
66 lines
1.1 KiB
TOML
[service]
|
|
autostart = true
|
|
|
|
[tray]
|
|
autostart = true
|
|
|
|
[watch]
|
|
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]
|
|
server_host = "backup-server"
|
|
remote_destination = "utente@backup-server:/backup/bak-rest/"
|
|
rsync_path = "rsync"
|
|
shutdown_on_success = true
|
|
shutdown_command = "shutdown /s /t 0"
|
|
|
|
[backup.server_check]
|
|
type = "tcp"
|
|
port = 22
|
|
interval_seconds = 300
|
|
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"
|