-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtarget.conf.any
50 lines (38 loc) · 2.44 KB
/
target.conf.any
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
#! /bin/sh
###############################################################################
# globals
# all path items should be specified in canonical form
###############################################################################
MOD_LIST_PATH="${TMP_DIR}/backupGT.modList" # loc for module list
PROC_PATH_PREFIX="${TMP_DIR}/backupGT.proc" # loc for module specific procs
RSYNC_CONF_PATH_PREFIX="${TMP_DIR}/backupGT.rsyncd" # loc for rsyncd conf files
RSYNC_INC_PATH_PREFIX="${TMP_DIR}/backupGT.rsyncInc" # loc for tar include files
TAR_INC_PATH_PREFIX="${TMP_DIR}/backupGT.tarInc" # loc for tar include files
LOG_PATH="${TMP_DIR}/backupGT.log"
RSYNC_FILTER_FILE=".backupGT-filter" # file name for diretory based rsync filters
ZFS_ROOT_DS=data/backupGT # dataset name under which all backups are stored
ZFS_ROOT_DIR=/data/backupGT # root dir under which all backups are stored
ZFS_TMP_DS=data/_tmp # dataset name for temp storage (system with zfs only)
ZFS_TMP_DS_MAX_SIZE=2000G # maximue size for temp dataset (system with zfs only)
# When a target system is using zfs it has the option of supplying its data to
# a backupGT_server by sending a zfs snapshot. When received by the backupGT_server
# the snapshot will be labelled with a zfs user property (ZFS_USER_PROP) to
# indicate that the snapshot is a backup of some target and not a local zfs
# dataset. When (and if) the server itself is backed up it is important that no
# additional snapshots are made as they will not have existed on the originating
# target (a snapshot such as this should be empty anyways as no changes should
# be being made to a backed-up data set).
ZFS_UPROP_IS_BACKUP="backupgt:is_backup" # user prop to mark dataset as being a backup (yes or no)
ZFS_UPROP_METHOD="backupgt:method" # method by which data was received
# When a target system is using zfs it has the option of supplying its data
# via ZFS send/receive. Here target side options can be specified.
ZFS_SEND_OPTS=""
############################################################################
# default commands
############################################################################
DATE_CMD="date -u +%Y.%m.%d-%H%M%Sz"
ELAPSED_CMD="date +%s"
############################################################################
# system specific
############################################################################
. ${0%/*}/target.conf.${SYSTEM_TYPE}