diff --git a/pages/fundamentals/data-durability.mdx b/pages/fundamentals/data-durability.mdx index eb7c08be..c6a5c97c 100644 --- a/pages/fundamentals/data-durability.mdx +++ b/pages/fundamentals/data-durability.mdx @@ -114,6 +114,10 @@ Alternatively, you can make one directly by running the following query: CREATE SNAPSHOT; ``` + +If another snapshot is already being created or no committed writes to the database have been made since the last snapshot this query will fail with an error. + + By default, snapshot files are saved inside the `var/lib/memgraph/snapshots` directory. To query which snapshots currently exist in the data directory, execute: @@ -153,6 +157,11 @@ background thread will pause and no snapshots will be created as long as that mode is active. The job will continue with the last defined interval when the storage mode is changed to `IN_MEMORY_TRANSACTIONAL` storage mode. + +The periodic snapshot will be skipped if another snapshot is in progress or no new writes have been committed since the last snapshot. +If the periodic snapshot is skipped it will be logged on INFO level. + + Snapshots and WAL files are presently not compatible between Memgraph versions.