Back Up and Restore Data

You can make a full backup or an incremental backup of a database. When you make a backup, you can target local file systems (only for full backups), network file systems, Azure, Google Cloud Storage, S3, and S3 Compatible Storage.

For backup destinations other than the local filesystem, all leaves must have access to write to the target destination.

Note

This topic applies to database backups made using the BACKUP DATABASE command or using the SingleStore Toolbox sdb-admin create-backup command.

Incremental backups cannot be made on unlimited storage databases.

Unlimited storage databases can be restored (attached) to any point in time using PITR, which is not discussed in this topic. See Local and Unlimited Database Storage Concepts for information on PITR.

Warning

SingleStore does not support restoring database backups from a newer version of SingleStore into an older version.

On account of how logs are now captured in SingleStore versions 8.9.19 and later, the following are not supported:

  • Downgrading from SingleStore versions 8.9.19 and later to SingleStore versions 8.9.18 and earlier

  • Restoring backups from SingleStore versions 8.9.19 and later to SingleStore versions 8.9.18 and earlier

Release 6.8 and earlier backups cannot be restored from release 7.8.

Note

When you restore a database from a backup , any pipelines included in that backup are also created in the restored database. These pipelines start automatically and immediately start consuming cluster resources, which can affect performance due to the additional pipelines.

You should review the pipelines in the restored database and stop or remove any pipelines that are not needed.

Databases on a secondary cluster to which the primary database is being replicated cannot be backed up with the BACKUP DATABASE command.

In this section

Last modified:

Was this article helpful?