Skip to content

Commit 9ec815e

Browse files
committed
Export GHE_RESTORE_SNAPSHOT for use in custom script
1 parent 5d92693 commit 9ec815e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

share/github-backup-utils/ghe-restore-mysql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ ghe_remote_version_required "$GHE_HOSTNAME"
2424
# The snapshot to restore should be set by the ghe-restore command but this lets
2525
# us run this script directly.
2626
: ${GHE_RESTORE_SNAPSHOT:=current}
27+
export GHE_RESTORE_SNAPSHOT
2728

2829
# The directory holding the snapshot to restore
2930
snapshot_dir="$GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT"

0 commit comments

Comments
 (0)