Skip to content

Commit

Permalink
add path to backups
Browse files Browse the repository at this point in the history
  • Loading branch information
nllong committed Nov 4, 2021
1 parent 16b87fb commit c4ad5fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/backup_k8s/backup_database.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ do
send_slack_notification "[ERROR-$ENVIRONMENT]-PostgreSQL-backup-file-was-empty"
else
aws s3 cp $file $S3_BUCKET/$RUN_DATE/
send_slack_notification "[$ENVIRONMENT]-PostgreSQL-uploaded-to-s3"
send_slack_notification "[$ENVIRONMENT]-PostgreSQL-uploaded-to-s3://$S3_BUCKET/$RUN_DATE/$file"
fi
done

Expand All @@ -106,7 +106,7 @@ do
send_slack_notification "[ERROR-$ENVIRONMENT]-Mediadata-backup-file-was-empty"
else
aws s3 cp $file $S3_BUCKET/$RUN_DATE/
send_slack_notification "[$ENVIRONMENT]-Mediadata-uploaded-to-s3"
send_slack_notification "[$ENVIRONMENT]-Mediadata-uploaded-to-s3://$S3_BUCKET/$RUN_DATE/$file"
fi
done

Expand Down

0 comments on commit c4ad5fc

Please sign in to comment.