Skip to content

Commit dba9839

Browse files
authored
Merge pull request #720 from christopherb-stripe/fix-external-database-restore-check
Fix is_default_external_database_snapshot function
2 parents 27ea997 + f8a8748 commit dba9839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/github-backup-utils/ghe-backup-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ is_external_database_snapshot(){
468468
# This file exists if this is a backup for an external database AND the backup was
469469
# taken via our logical backup strategy.
470470
is_default_external_database_snapshot(){
471-
is_external_database_snapshot && test -f "$1/logical-external-database-backup-sentinel"
471+
is_external_database_snapshot && test -f "$GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT/logical-external-database-backup-sentinel"
472472
}
473473

474474
prompt_for_confirmation(){

0 commit comments

Comments
 (0)