use a UTC timestamp

mike/testing
Christopher Usher 5 years ago
parent 6b51734bbf
commit 845744cbf6

@ -12,6 +12,6 @@ if [ "$(wc -l <<<"$CONTAINER")" -ne 1 ]; then
exit 1
fi
FILE="$PREFIX-$(date +%Y-%m-%dT%H:%M:%S).sql"
FILE="$PREFIX-$(date -u +%Y-%m-%dT%H:%M:%S).sql"
echo "Dumping $CONTAINER to $FILE"
docker exec $CONTAINER pg_dump wubloader -U postgres | aws s3 cp - "s3://$BUCKET/$FILE"

Loading…
Cancel
Save