blob: 82fa2c07c5a0f5a3b109b37db4439068eb8605d9 (
plain)
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
|
#!/bin/bash
# config file for hardlinkedBackups
# files/paths to exclude from backup (via --exclude)
excludes=(
"path/to/exclude/from/backup"
"yet/another/one"
)
# definition of backups to do
declare -A backups
backups["directBackup"]="/path/to/destination/ user@source:path"
backups["proxiedBackup"]="/path/to/destination/ user@source:path proxy_user@ssh_host"
# how long to wait for destination directories to appear in lastBackups [seconds]
maxWait=100
# how old may backups be before we warn about outdated ones [seconds]
outdatedLimit=$[2*24*60*60]
# subdirectories which should be appended to the parent directory in the report
recognSubdirRegex="home\|boot\|root\|erich"
# directory for caching valuable information in backupStatistics
cacheDir="/path/to/cache/directory"
|