-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclean_backup.conf
More file actions
57 lines (48 loc) · 1.09 KB
/
clean_backup.conf
File metadata and controls
57 lines (48 loc) · 1.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
# --- Source and Destination ---
BACKUP_DIRS="/./home/user/ /./var/log/ /./etc/nginx/"
BOX_DIR="/home/myvps/"
# --- Connection Details ---
BOX_ADDR="u123456-sub4@u123456.your-storagebox.de"
BEGIN_SSH_OPTS
-p23
-i
/root/.ssh/id_ed25519
END_SSH_OPTS
# --- Performance ---
RSYNC_NOATIME_ENABLED=false
RSYNC_TIMEOUT=300
BANDWIDTH_LIMIT_KBPS=""
# --- Integrity Check ---
CHECKSUM_ENABLED=false
# --- Logging ---
LOG_FILE="/var/log/backup_rsync.log"
MAX_LOG_SIZE_MB=10
LOG_RETENTION_DAYS=90
# --- Recycle Bin ---
RECYCLE_BIN_ENABLED=true
RECYCLE_BIN_DIR="recycle_bin"
RECYCLE_BIN_RETENTION_DAYS=30
# --- Notification Toggles ---
NTFY_ENABLED=true
DISCORD_ENABLED=false
# --- ntfy ---
NTFY_TOKEN="tk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
NTFY_URL="https://ntfy.sh/your-private-topic-name"
NTFY_PRIORITY_SUCCESS=3
NTFY_PRIORITY_WARNING=4
NTFY_PRIORITY_FAILURE=4
# --- Discord ---
DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/your/webhook_url_here"
# --- rsync Exclusions ---
BEGIN_EXCLUDES
.bash_history
.bash_logout
.bashrc
.config/
.docker/
.local/
.profile
.ssh/
.sudo_as_admin_successful
.wget-hsts
END_EXCLUDES