Export/import database

Hi @come, since you are self-hosting, you can leverage internal Baserow commands to import & export applications (databases) of a workspace.

So let’s say that your original workspace has id=60, then you could export as:

django-admin export_workspace_applications 60

And import on the new instance as:

django-admin import_workspace_applications 70 workspace_60

The workspace_60 is the name of the export, this would be the default name. 70 would be a workspace id of the new workspace on the new instance. You would need to transfer this file from the old to the new Baserow instance.

These commands are DJango commands, hence why they are called through django-admin (or manage.py file).

These commands can be run from backend containers in the docker-compose setup, not sure from top of my head if this will work out of the box in the single Docker image.

1 Like