-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
52 lines (41 loc) · 2.92 KB
/
.env.example
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
###########################################################################################################
########################################### DATA BACKUP SETUP ############################################
###########################################################################################################
# LOCAL_TARGET: Defined the path where the generated backup will be stored locally.
# example value: /path/to/backup
LOCAL_TARGET=/path/to/backup
# CLOUD_TARGET: Define a URL and the path where the backup will be stored in the Google Drive or AWS S3 cloud.
# example value AWS S3: s3://s3.<bucket-region>.amazonaws.com/<bucket-name>[/<path>]
# example value Google Drive: gdocs://youremail@gmail.com[/<path>]
# CLOUD_TARGET=
# CLOUD_ACCESS_KEY_ID: Client Id for access Google Driver or AWS S3 service responsible to store backup data.
# example value: AKIAYXGARMBIICAV23FE
# CLOUD_ACCESS_KEY_ID=
# CLOUD_SECRET_ACCESS_KEY: Client Secret for access Google Driver or S3 service responsible to store backup data.
# example value: J/YXk2xMaJQugb+vYm+c/TbTz+LpMnkxucdfv/Rh
# CLOUD_SECRET_ACCESS_KEY=
# RESTORE_TARGET: Define the target used to restore the backup.
# example value: LOCAL | GOOGLE_DRIVE | AWS
RESTORE_TARGET=GOOGLE_DRIVE
# BACKUP_DATA_RETENTION: Time the data backup will remain stored.
# Default value (15 days): 15D
BACKUP_DATA_RETENTION=15D
# PRE_STRATEGIES: Directory path that contains the scripts that will be executed before starting the backup
# or restore operation. All scripts that have the .sh extension will be executed in
# alphabetical order.
# Example value: ${HOME}/.docker-volume-backup/strategies/pre
PRE_STRATEGIES=${HOME}/.docker-volume-backup/strategies/pre
# POS_STRATEGIES: Directory path containing the scripts that will be executed after starting the backup or
# restore operation. All scripts that have the .sh extension will be executed in
# alphabetical order.
# Example value: ${HOME}/.docker-volume-backup/strategies/pos
POS_STRATEGIES=${HOME}/.docker-volume-backup/strategies/pos
# TZ: You can set the time zone with the environment variable TZ.
# Example value: "Brazil/East"
TZ="Brazil/East"
# CONTAINER_NAME: Name of the container that will perform the backup and restore operations.
# Example value: "backup-container"
CONTAINER_NAME=backup-container
# GOOGLE_CREDENTIALS_VOLUME: Volume name that stores the google drive credentials.
# Example value: "google-drive-credentials"
GOOGLE_CREDENTIALS_VOLUME=google-drive-credentials