Skip to content

Commit 7b89666

Browse files
committed
customize restore
1 parent 40cecd6 commit 7b89666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/restore.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ $# -eq 1 ]; then
1919
else
2020
echo "Finding latest backup..."
2121
key_suffix=$(
22-
aws s3 ls "${s3_uri_base}/${POSTGRES_DATABASE}" \
22+
aws s3 ls "${s3_uri_base}/${SOURCE_DATABASE}" \
2323
| sort \
2424
| tail -n 1 \
2525
| awk '{ print $4 }'

0 commit comments

Comments
 (0)