This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Configuration variables | |
| PROJECT_ID="project" | |
| LOCATIONS=("us" "asia-southeast1") | |
| CURRENT_OWNER="old" | |
| NEW_OWNER="new" | |
| # Ensure bq command-line tool is installed | |
| if ! command -v bq &> /dev/null; then | |
| echo "Error: bq command-line tool not found. Please install Google Cloud SDK." | |
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # SQL Server Docker Backup Script | |
| set -euo pipefail # Exit on error, undefined var, pipe failure | |
| # Default values | |
| DEFAULT_CONTAINER_NAME="sqlserver" | |
| DEFAULT_DATABASE_NAME="TestDb" | |
| DEFAULT_SA_PASSWORD="YourStrong@Passw0rd" |
OlderNewer