# SNAPSHOT keyword

> **For AI agents:** the complete documentation index is at [llms.txt](https://questdb.com/docs/llms.txt). Every page is available as markdown by appending `.md` to its URL, or by sending an `Accept: text/markdown` request header.

SNAPSHOT SQL keyword reference documentation.

This is a *deprecated* syntax to prepare the database for a full backup or a filesystem (disk) snapshot. 
`SNAPSHOT` SQL syntax has been superceded by [`CHECKPOINT` SQL syntax](/docs/query/sql/checkpoint/)

_For a detailed guide backup creation and restoration? Check out our
[Backup and Restore](/docs/operations/backup/) guide!_

## Syntax

```questdb-sql
SNAPSHOT { PREPARE | COMPLETE };
```
