| valign='top' | '''Errors'''
|The command fails if the specified database does not exist, or if it could not be zipped for some other reason.
|-
| valign='top' | '''Examples'''
|
* <code>BACKUP db</code><br/>creates a zip archive of the database <code>db</code> with the current timestamp in your BaseXData folder.
|}