-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdummy_task
More file actions
executable file
·33 lines (24 loc) · 854 Bytes
/
dummy_task
File metadata and controls
executable file
·33 lines (24 loc) · 854 Bytes
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
# Dummy backup task for rsync_backup.sh
# 0 = Effective backup / 1 = Dry-run
SIMULATION=1
# Backup retention time in days, i.e. number of days before backup deletion
HOLD="30"
# Path where the folder to backup is
SRC_PTH="/path/to/folder/"
# Folder to backup (without trailing '/')
SRC_FLD="folder_to_backup"
# Folder or file to exclude
EXCLUDE="--exclude=*_NOBACKUP/"
# Backup destination path
DST_PTH="/my/backup/folder/"
# Log file (local location only). Tip: You can use on of the above variable for naming.
LOG="/my/log/folder/${SRC_FLD}.log"
# Rsync additional options ("-avHh --stats --delete-after --delete-excluded" are already native)
RSYNC_OPTION=""
# -----
# SSH server connection
# Keep those fields empty ("") if the backup destination is local
LOGIN="toto"
SERVER_IP="www.mybackupserver.net"
PORT="22"
RSA_KEY="/RSA/key/location"