-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.sh
More file actions
57 lines (44 loc) · 1.12 KB
/
Copy pathconfig.sh
File metadata and controls
57 lines (44 loc) · 1.12 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
## Default tape device, assuming only single SCSI tape device is attached
TAPE_DEVICE="/dev/st0"
LTO3_SIZE="400*1000*1000*1000"
LTO4_SIZE="800*1000*1000*1000"
LTO5_SIZE="1500*1000*1000*1000"
LTO6_SIZE="2500*1000*1000*1000"
## Default selectin will be LTO6, but can be configured
TAPE_SIZE=$LTO6_SIZE
TAPE_SPEED="160*1000*1000"
BLOCK_SIZE="256K"
## Backup source and restore destination
BACKUP_SOURCE=
RESTORE_DESTINATION=
## Dialog config
HEIGHT=20
WIDTH=80
## Tar options
TAR_ARGS="-b 4096"
## Mbuffer options
TAPE_BUFFER_SIZE="2G"
## Command location
TAR=/bin/tar
MT=/bin/mt-st
MBUFFER=/usr/bin/mbuffer
OPENSSL=/usr/bin/openssl
## Compression
ENABLE_COMPRESSION=
COMPRESSION_CMD="zstd -10 -T0"
DECOMPRESSION_CMD="zstd -10 -d"
## Logs
BACKUP_FILE_LOG="backup-files-$(date "+%Y-%m-%d_%N").log"
TASK_LOG="task-log-$(date "+%Y-%m-%d_%N").log"
RESTORE_FILE_LOG="restore-files-$(date "+%Y-%m-%d_%N").log"
## Encryption
ENABLE_ENCRYPTION=
ENCRYPTION_KEY=
ENCRYPT_CMD="-aes-256-cbc -salt -pbkdf2"
DECRYPT_CMD="-d -aes-256-cbc -salt -pbkdf2"
## Verification
CHECKSUM_FILE=
## Notification
ENABLE_TELEGRAM=
TELEGRAM_GROUP_ID=
TELEGRAM_BOT_TOKEN=