# Locking that Occurs when BACKUP DATABASE is Run

If `BACKUP DATABASE` is run, the following applies before the backup starts:

* The aggregator briefly blocks new queries from running across the cluster.
* If there is a long-running write query executing, `BACKUP DATABASE` waits for the query to complete.

Once `BACKUP DATABASE` is running, queries against the cluster can proceed normally.

***

Modified at: July 5, 2021

Source: [/db/v7.3/manage-data/back-up-and-restore-data/locking-that-occurs-when-backup-database-is-run/](https://docs.singlestore.com/db/v7.3/manage-data/back-up-and-restore-data/locking-that-occurs-when-backup-database-is-run/)

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