Skip to content

Commit

Permalink
fixing datetime parsing in s3 file names
Browse files Browse the repository at this point in the history
  • Loading branch information
benartuso committed Sep 28, 2023
1 parent 29c4761 commit a219dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/backup_and_migrate_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if [ $? -ne 0 ]; then
fi

# 2. Upload the tarball to S3
aws s3 cp "$REPO_PATH.tar.gz" "s3://$BUCKET_NAME/$FILEPATH.tar.gz"
aws s3 cp "$REPO_PATH.tar.gz" "s3://$BUCKET_NAME/$FILEPATH/$TIMESTAMP.tar.gz"

# Check if aws s3 cp was successful
if [ $? -ne 0 ]; then
Expand Down

0 comments on commit a219dac

Please sign in to comment.