Skip to content

Commit 02c7025

Browse files
committed
Merge branch 'gitbook-dev' into gitbook-publish
2 parents 81c9b2e + 469ee37 commit 02c7025

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/dolt/content/reference/sql/version-control/dolt-sql-procedures.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,6 +1418,10 @@ CALL dolt_undrop('database1');
14181418
SELECT * FROM database1.t;
14191419
```
14201420

1421+
### Usage Notes
1422+
1423+
Dropped databases are moved to the `.dolt_dropped_databases` directory in the Dolt data directory. If a database with the same name is dropped multiple times, the previous copy will be renamed to `<database_name>.backup.<timestamp>`. This enables you to restore a previously dropped database, even if it was recreated and dropped again. To restore a previous version, rename the backup directory to the original database name and then call `dolt_undrop('<database_name>')`. If you do not rename the directory and use the name with the timestamp when you call `dolt_undrop()`, then the database will be restored with the timestamp in the name.
1424+
14211425
## `DOLT_VERIFY_CONSTRAINTS()`
14221426

14231427
Verifies that working set changes (inserts, updates, and/or deletes) satisfy the

0 commit comments

Comments
 (0)