-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.toml
More file actions
69 lines (60 loc) · 3.09 KB
/
Copy pathconfig.example.toml
File metadata and controls
69 lines (60 loc) · 3.09 KB
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
# ──────────────────────────────────────────────────────────────────────────
# SafeKeep — example configuration
#
# Copy this file to `config.toml` and edit it (or just configure everything
# from the GUI under "Folders & Settings" and hit Save).
#
# Add as many [[sources]] and [[destinations]] as you like.
# Each destination keeps its OWN snapshot series and retention count.
# ──────────────────────────────────────────────────────────────────────────
[backup]
retention = 14 # snapshots to keep per destination
use_hardlinks = true # share unchanged files across snapshots (NTFS dedup)
copy_security = false # also copy NTFS ACLs/owner (only works to NTFS targets)
backup_mode = false # robocopy /B — read all files (needs admin / Backup rights)
restartable = false # robocopy /Z — resilient on flaky networks (slower)
ignore_access_errors = true # permission errors are warnings, not run failures
daily_time = "03:00" # Task Scheduler trigger (24h HH:MM)
# Excludes applied to every source unless a source overrides its own `exclude`.
default_exclude = [
"**/node_modules",
"**/__pycache__",
"**/.venv",
"**/venv",
"**/.git/objects",
"**/.DS_Store",
"**/Thumbs.db",
]
# ── Destinations ───────────────────────────────────────────────────────────
# Local/NAS folders work today. Use a UNC path (\\server\share\…) for a NAS so
# it still works when the app runs elevated (mapped letters like U:\ are hidden
# from elevated processes). Cloud (Google Drive, S3, …) drops in later via the
# rclone destination type — see README.
[[destinations]]
name = "nas"
type = "local"
path = "\\\\server\\share\\backups\\safekeep"
# retention = 30 # optional per-destination override
# Second local target (optional):
# [[destinations]]
# name = "external"
# type = "local"
# path = "E:/backups/safekeep"
# Cloud (rclone — Google Drive, S3, B2, OneDrive, …). Install rclone, run
# `rclone config` to add a remote, then uncomment:
# [[destinations]]
# name = "gdrive"
# type = "rclone"
# remote = "gdrive:backups/safekeep"
# retention = 90
# ── Sources ────────────────────────────────────────────────────────────────
# `label` becomes the folder name inside each snapshot (keep labels unique).
# `exclude` is optional and overrides default_exclude for this source.
# A destination can receive only some sources with `sources = ["label", …]`.
[[sources]]
path = "D:/projects/my-app"
label = "my-app"
# exclude = ["**/build", "**/.next"]
[[sources]]
path = "C:/Users/me/Documents/important"
label = "docs"