chore: checkpoint before switching to main
This commit is contained in:
@@ -33,7 +33,7 @@ gunzip -c "${BACKUP_FILE}" | psql \
|
||||
-h "${DB_HOST}" \
|
||||
-U "${DB_USER}" \
|
||||
-d "${DB_NAME}" \
|
||||
--On-error-stop
|
||||
--set ON_ERROR_STOP=on
|
||||
|
||||
echo "[$(date '+%Y-%m-%d %H:%M:%S')] 恢复完成"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user