# Backup and Restore on S3, Azure or GCS

Backup and restore can specify an S3 bucket or Azure container or Google Cloud Storage (GCS). In this case, all the backup files across all the leaves (one per partition as described above) are put directly into the S3 bucket or Azure container or GCS. When restore is called, SingleStore will distribute the backup files appropriately and restore the data (similar to how restoring from an NFS drive works).

When taking a database backup to an Azure bucket \[blob container] ensure that your service account has all required privileges, including the `blob feed` privilege.&#x20;

See [BACKUP DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/backup-database.md)  and [RESTORE DATABASE](https://docs.singlestore.com/cloud/reference/sql-reference/operational-commands/restore-database.md) for syntax and examples.

***

Modified at: September 22, 2023

Source: [/cloud/manage-data/back-up-and-restore-data/backup-and-restore-on-s-3-azure-or-gcs/](https://docs.singlestore.com/cloud/manage-data/back-up-and-restore-data/backup-and-restore-on-s-3-azure-or-gcs/)

(An index of the documentation is available at /llms.txt)
