TypeDB Backups

This documentation covers the backup solutions available for TypeDB, both in the Cloud and Self-hosted CE and Enterprise deployments.

Cloud Backups

TypeDB Cloud provides robust backup capabilities that can be automated and configured to suit your needs.

Automated Backups

TypeDB Cloud supports scheduled backups that can be configured either during cluster deployment or at a later date.

Backups will be taken according to a chosen frequency (hourly, daily, or weekly) and will be retained for a chosen amount of time.

Manual Backups

In addition to scheduled backups, you can create backups on-demand. We recommend doing this prior to making large changes to your database such as schema modifications or data migrations.

Restore Options

When restoring from a backup, you have two options:

  • Restore to the original cluster (in-place restore)

  • Create a new cluster from the backup with the same configuration as the original (clone)

Self-hosted Backups

For self-hosted TypeDB deployments, backup implementation is the responsibility of the user. We recommend using either disk snapshots or our import/export tool. Neither of these options are incremental.

Export/Import

Use the Database Export & Import tool for exporting and importing database state.

Doing an export will provide you with two files - one representing the schema, and the other representing the data. These can then be used with import to restore the database to the point when the export was taken.

Disk Snapshots

It’s possible to take snapshots using a cloud provider’s disk snapshot utility, and create a new TypeDB server instance based on the snapshotted disk. This can be done while the server is running.