You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: discovery-data/latest/all-backup-restore.sh
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ set -e
4
4
5
5
BACKUP_DIR="tmp"
6
6
TMP_WORK_DIR="tmp/all_backup"
7
-
SPLITE_DIR=./tmp_split_bakcup
7
+
SPLIT_DIR=./tmp_split_backup
8
8
EXTRA_OC_ARGS="${EXTRA_OC_ARGS:-}"
9
9
10
10
SCRIPT_DIR=$(dirname $0)
@@ -23,12 +23,12 @@ Usage:
23
23
24
24
Options:
25
25
--help, -h Show help
26
-
--file, -f Speccify backup file
26
+
--file, -f Specify backup file
27
27
--mapping, -m <mapping_file> Specify mapping file for restore to multi tenant clusters
28
28
--instance-name, -i <instance_name> Instance name for a new Discovery instance. This name will be used if there is no Discovery instance when restore backup of Discovery 4.0.5 or older
29
29
--cp4d-user-id <user_id> User ID to create Discovery instance. Default: admin user ID.
30
30
--cp4d-user-name <user_name> User name to create Discovery instance. Default: admin.
31
-
--log-output-dir <directory_path> Specify outout direcotry of detailed component logs
31
+
--log-output-dir <directory_path> Specify output directory of detailed component logs
32
32
--continue-from <component_name> Resume backup or restore from specified component. Values: wddata, etcd, postgresql, elastic, minio, archive, migration, post-restore
33
33
--quiesce-on-error=[true|false] If true, not unquiesce on error during backup or restore. Default false on backup, true on restore.
34
34
--clean Remove existing tmp directory before start backup or restore.
@@ -38,8 +38,8 @@ Basically, you don't need these advanced options.
38
38
39
39
--archive-on-local Archive the backup files of etcd and postgresql on local machine. Use this flag to reduce the disk usage on their pod or compress the files with specified option, but it might take much time.
40
40
--backup-archive-option="<tar_option>" Tar options for compression used on archiving the backup file. Default none.
41
-
--datastore-archive-option="<tar_option>" Tar options for comporession used on archiving the backup files of ElasticSearch, MinIO and internal configuration. Default "-z".
42
-
--postgresql-archive-option="<tar_option>" Tar options for comporession used on archiving the backup files of postgres. Note that the backup files of postgresql are archived on its pod by default. Default "-z".
41
+
--datastore-archive-option="<tar_option>" Tar options for compression used on archiving the backup files of ElasticSearch, MinIO and internal configuration. Default "-z".
42
+
--postgresql-archive-option="<tar_option>" Tar options for compression used on archiving the backup files of postgres. Note that the backup files of postgresql are archived on its pod by default. Default "-z".
43
43
--etcd-archive-option="<tar_option>" Tar options used on archiving the backup files of etcd. Note that the backup files of etcd are archived on its pod by default. Default "-z".
44
44
--skip-verify-archive Skip the all verifying process of the archive.
45
45
--skip-verify-backup Skip verifying the backup file.
@@ -335,11 +335,11 @@ if [ -z "${CONTINUE_FROM_COMPONENT+UNDEF}" ] && [ -d "${BACKUP_DIR}" ] ; then
0 commit comments