Repository navigation
Conversation
Spanner backup guides create point-in-time backups with version_time and expire_time via DatabaseAdminClient.create_backup. Add a standalone spanner_create_backup sample with unit and live tests.
|
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new script create_backup.py along with its corresponding test suite create_backup_test.py to create point-in-time Cloud Spanner database backups. The script includes robust error handling for API exceptions and timeouts, and provides a CLI entry point. The test suite covers successful execution, error scenarios, CLI parsing, and live integration tests. There are no review comments, and we have no feedback to provide.
Description
Adds
spanner_create_backupcreating a point-in-time Spanner backup viaDatabaseAdminClient.create_backup.Checklist
Testing
Compliance & Style
spanner/, which the default repository owners cover.Post-Approval Actions