cisagov / manage.get.gov

A Django-based domain name registrar used by the .gov domain to communicate with an EPP registry
https://get.gov
Other
57 stars 17 forks source link

Investigate copying one database to another sandbox #2724

Open abroddrick opened 1 week ago

abroddrick commented 1 week ago

Issue description

We have talked with cloud.gov on how to pull down a backup of stable, but the first option we tried had various issues with developers, including many technical blockers stemming from their machines. It also required us to download a copy onto our local machine, but many devs use personal devices and should not put a copy of our db on their personal device.

With all of this, we emailed cloud.gov and received an alternative solution. This will require heads down time to work through and may require emailing cloud.gov or joining their office hours for questions. We also do have some hours of help were we can get their help if we get stuck with the steps they dictate.

Acceptance criteria

Additional context

Quote from cloud.gov on suggested alternative approach

This would involve setting up a temporary docker application with an S3 bucket bound to that application. Additionally you would bind the old RDS instance to the temporary docker application.

You would then dump the data from the old RDS instance into that temporary docker application and then transfer it to the S3 bucket from there. After the data is transferred to S3, you would unbind the old RDS instance, bind the new RDS instance and then connect the new RDS instance to S3 and load the data into the new RDS instance.

If you need to share the service instance that contains the data with another space in your organization, please refer to the documentation on sharing service instances, linked here. Please let us know if you have any additional questions or would like any further clarification.

Links to other issues

No response

abroddrick commented 1 week ago

Tentatively reserving for Matt to work on