# Back up and restore site data

Source: https://zotonic.com/docs/2938/back-up-and-restore-site-data

URI: https://zotonic.com/id/2938

Language: en

For a site with backup support enabled:

```sh
bin/zotonic backup garden list
bin/zotonic backup garden start
```

The list is read-only; start requests a new backup. Check the reported status and resulting backup rather than assuming that the request completed synchronously.

Restore is a separate, consequential operation. Confirm the destination site, the selected backup, and its files before running `backup garden restore <backup-name>`. Test recovery on an isolated site first.

The command also has a download operation; consult [backup: List, create, or restore backups](/id/3006) for the current behavior. Keep backups and decryption credentials outside the source repository. See [Verify backups by restoring them](/id/2995).

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2938?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2938?language=en>)
