Skip to content

Commit

Permalink
feat: new bucket for backups after moving to team-atom
Browse files Browse the repository at this point in the history
  • Loading branch information
Muni10 committed Jan 5, 2024
1 parent 277a99a commit cb7dc46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vera-backup/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi
# compress dump before uploading to bucket

backup_name="dump_$(date +"%Y-%m-%d_%H-%M").gz"
if ! gsutil mv "/tmp/dump.gz" "gs://vera-backup-bucket/$backup_name"; then
if ! gsutil mv "/tmp/dump.gz" "gs://vera-backup-bckt/$backup_name"; then
echo "failed to upload backup to bucket"
exit 1
fi

0 comments on commit cb7dc46

Please sign in to comment.