Skip to content

Commit

Permalink
Docs: Add a little extra info on snapshot deletion [skip ci][ci skip] (
Browse files Browse the repository at this point in the history
  • Loading branch information
chellman committed Nov 27, 2020
1 parent 5b2ee26 commit 4e05fc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/users/cli-usage.md
Expand Up @@ -667,6 +667,8 @@ Restored database snapshot: /Users/rfay/workspace/d8git/.ddev/db_snapshots/d8git
Snapshots are stored in the project's .ddev/db_snapshots directory, and the directory can be renamed as necessary. For example, if you rename the above d8git_20180801132403 directory to "working_before_migration", then you can use `ddev restore-snapshot working_before_migration`.
To delete a snapshot, delete its folder from the .ddev/db_snapshots directory. Snapshots are not removed from the filesystem by `ddev delete`. It is safe to remove all the snapshots with `rm -r .ddev/db_snapshots` if you no longer need the snapshots.
There are some interesting consequences of restoring huge multi-gigabyte databases. Ddev may show the project as ready and started when in reality tables are still being loaded. You can see this behavior with `ddev logs -s db -f`.
## Interacting with your project
Expand Down

0 comments on commit 4e05fc1

Please sign in to comment.