We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e36160 + fa68577 commit 4c05517Copy full SHA for 4c05517
packaging/common/cfengine-hub/postinstall.sh
@@ -572,7 +572,7 @@ migrate_db_using_dump_file() {
572
return $result
573
}
574
575
-if is_upgrade && [ -d "$BACKUP_DIR" ]; then
+if is_upgrade && [ -d "$BACKUP_DIR/data" ]; then
576
# DEBUG variable controls which of migration methods fail:
577
# 0 - do nothing special (usually pg_upgrade, which is first method, succeeds)
578
# 1 - fail first method (so we get a chance to run second method, migration via pipe)
0 commit comments