Prerequisites
- AWS Aurora PostgreSQL cluster
- Access to AWS Console
- Xata account and project setup with a running
mainbranch - Network access to your Aurora cluster
Install and configure the Xata CLI
Install the Xata CLI:Find the Aurora connection string
Aurora connection strings typically look something like this:Initialize Xata project
Go to a local folder that you want to save the Xata configuration to and initialize it like this:xata) or use the same that you have in Aurora. If the database doesn’t exist, it will be created.
In case you need to redo this step, you can reset the configuration by deleting the .xata/project.json file and running xata init again.
Start the migration
Begin the data transfer:Verification
After migration, verify your data:-
Connect to Xata Branch:
-
Check Data Integrity: