File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
share/github-backup-utils Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 505
505
cmd_title=$( log_info " Restoring Redis database ..." )
506
506
commands=("
507
507
echo \" $cmd_title \"
508
- ghe-restore-redis \" $GHE_HOSTNAME \" " )
508
+ ghe-restore-redis \" $GHE_HOSTNAME \" \" $GHE_RESTORE_SNAPSHOT_PATH \" " )
509
509
510
510
cmd_title=$( log_info " Restoring Git Repositories ..." )
511
511
commands+=("
Original file line number Diff line number Diff line change 16
16
# Grab host arg
17
17
GHE_HOSTNAME=" ${1} "
18
18
19
+ # Grab snapshot path arg
20
+ GHE_RESTORE_SNAPSHOT_PATH=" ${2} "
21
+
19
22
bm_start " $( basename " ${0} " ) "
20
23
21
24
ghe-ssh " $GHE_HOSTNAME " -- ' ghe-import-redis' < " $GHE_RESTORE_SNAPSHOT_PATH /redis.rdb" 1>&3
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ bm_start "$(basename "${0}")"
17
17
18
18
# Grab host arg
19
19
GHE_HOSTNAME=" ${1} "
20
+
21
+ # Grab snapshot path arg
20
22
GHE_RESTORE_SNAPSHOT_PATH=" ${2} "
21
23
22
24
bm_start " $( basename " ${0} " ) "
You can’t perform that action at this time.
0 commit comments