Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: backup restore to different instance #300

Merged
merged 8 commits into from Apr 30, 2021

Conversation

kolea2
Copy link
Collaborator

@kolea2 kolea2 commented Apr 27, 2021

No description provided.

mf2199 and others added 6 commits December 30, 2020 13:36
* feat: backup restore to another Instance

* fix: typo
…ackup-different-instance

# Conflicts:
#	google/cloud/bigtable/backup.py
#	tests/system.py
#	tests/unit/test_backup.py
@kolea2 kolea2 requested review from a team as code owners April 27, 2021 14:18
@product-auto-label product-auto-label bot added the api: bigtable Issues related to the googleapis/python-bigtable API. label Apr 27, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Apr 27, 2021
@kolea2
Copy link
Collaborator Author

kolea2 commented Apr 27, 2021

@liubonan fyi

@kolea2 kolea2 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 27, 2021
@kolea2 kolea2 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 29, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 29, 2021
@kolea2 kolea2 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 29, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 29, 2021
@kolea2 kolea2 removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 30, 2021
tests/system.py Outdated
).result()
tables = Config.INSTANCE_DATA.list_tables()
self.assertIn(restored_table, tables)
restored_table.delete()

# Testing `Backup.restore()` into a different instance:
# Setting up another instance...
alt_instance_id = "gcp-" + UNIQUE_SUFFIX
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it: I found it odd the instance Id doesn't state it is an alt. the default instance id is INSTANCE_ID = "g-c-p" + UNIQUE_SUFFIX. I thought this would be something like g-c-p-alt + unique suffix or INSTANCE_ID + "-alt"

@kolea2 kolea2 added the automerge Merge the pull request once unit tests and other checks pass. label Apr 30, 2021
@gcf-merge-on-green gcf-merge-on-green bot merged commit 049a25f into master Apr 30, 2021
@gcf-merge-on-green gcf-merge-on-green bot deleted the backup-different-instance branch April 30, 2021 16:48
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigtable Issues related to the googleapis/python-bigtable API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants