You need to migrate a Redis database from an on-premises data center to a Memorystore for Redis instance. You want to follow Google-recommended practices and perform the migration for minimal cost, time and effort. What should you do?
A.
Make an RDB backup of the Redis database, use the gsutil utility to copy the RDB file into a Cloud Storage bucket, and then import the RDB file into the Memorystore for Redis instance.
B.
Make a secondary instance of the Redis database on a Compute Engine instance and then perform a live cutover.
C.
Create a Dataflow job to read the Redis database from the on-premises data center and write the data to a Memorystore for Redis instance.
D.
Write a shell script to migrate the Redis data and create a new Memorystore for Redis instance.
A. Make an RDB backup of the Redis database, use the gsutil utility to copy the RDB file into a Cloud Storage bucket, and then import the RDB file into the Memorystore for Redis instance.
The import and export feature uses the native RDB snapshot feature of Redis to import data into or export data out of a Memorystore for Redis instance. The use of the native RDB format prevents lock-in and makes it very easy to move data within Google Cloud or outside of Google Cloud. Import and export uses Cloud Storage buckets to store RDB files.
Reference:
https://cloud.google.com/memorystore/docs/redis/import-export-overview
A. Make an RDB backup of the Redis database, use the gsutil utility to copy the RDB file into a Cloud Storage bucket, and then import the RDB file into the Memorystore for Redis instance.
A is the answer.
https://cloud.google.com/memorystore/docs/redis/about-importing-exporting
The import and export feature uses the native RDB snapshot feature of Redis to import data into or export data out of a Memorystore for Redis instance. The use of the native RDB format prevents lock-in and makes it very easy to move data within Google Cloud or outside of Google Cloud. Import and export uses Cloud Storage buckets to store RDB files.
A
Import and export uses Cloud Storage buckets to store RDB files.
https://cloud.google.com/memorystore/docs/redis/about-importing-exporting#:~:text=Import%20and%20export%20uses%20Cloud%20Storage%20buckets%20to%20store%20RDB%20files.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
AWSandeep
Highly Voted 1 year, 7 months agovamgcp
Most Recent 9 months, 1 week agoAzureDP900
1 year, 3 months agozellck
1 year, 4 months agogudiking
1 year, 5 months agoAtnafu
1 year, 5 months agoducc
1 year, 7 months ago