Skip to content

Commit

Permalink
remove nonexistent service from manifest; remove service creation fro…
Browse files Browse the repository at this point in the history
…m restore
  • Loading branch information
rshewitt committed Sep 24, 2024
1 parent d42ba33 commit 7c033f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
18 changes: 9 additions & 9 deletions docs/backup_restore/catalog-db-restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ cf set-env backup-manager DATASTORE_S3_SERVICE_NAME backup-manager-s3
# Go to the correct space
cf target -s $space_name

# # create temp Database
if [[ "${space_name}" == 'prod' ]]; then
db_plan=large-gp-psql-redundant
else
db_plan=large-gp-psql
fi
cf create-service aws-rds ${db_plan} catalog-db-new -c "{\"storage\": ${storage_size}, \"version\": \"12\"}" --wait
cf bind-service backup-manager catalog-db-new
cf restart backup-manager
# # # create temp Database
# if [[ "${space_name}" == 'prod' ]]; then
# db_plan=large-gp-psql-redundant
# else
# db_plan=large-gp-psql
# fi
# cf create-service aws-rds ${db_plan} catalog-db-new -c "{\"storage\": ${storage_size}, \"version\": \"12\"}" --wait
# cf bind-service backup-manager catalog-db-new
# cf restart backup-manager

# # Restore backup
restore_id=$$
Expand Down
1 change: 0 additions & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ applications:
DATASTORE_S3_SERVICE_NAME: backup-manager-s3
services:
- backup-manager-s3
- dashboard-db
- catalog-db

0 comments on commit 7c033f6

Please sign in to comment.