Skip to main content

Backup & Restore

Using the Abstra CLI, you can easily backup and restore your table schemas and data.

Creating a backup

To create a backup of your tables, run the following command in your terminal:

abstra dump

This will generate a file named abstra-tables.json containing your table schema and data.

Restoring a backup

To restore a previously backed-up file, ensure the abstra-tables.json file is located in your project root, then run:

abstra restore