# TypeDB Backups

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

## [](#_cloud_backups)Cloud Backups

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

### [](#_automated_backups)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)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)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)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.

### [](#_exportimport)Export/Import

Use the [Database Export & Import](../database-export-import/index.md) 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)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.

[TypeDB Upgrades](../typedb-upgrades/index.md) [TypeDB Configuration](../typedb-configuration/index.md)

[Edit on GitHub](https://github.com/typedb/typedb-docs/edit/3.x-development/maintenance-operation/modules/ROOT/pages/typedb-backups.adoc) Edit this page on GitHub.