diff --git a/docs/self-hosting/scripts.md b/docs/self-hosting/scripts.md index 25aec80..b3ea1c9 100644 --- a/docs/self-hosting/scripts.md +++ b/docs/self-hosting/scripts.md @@ -19,6 +19,8 @@ This is not an efficient backup method; it is intended for converting between da ```bash linenums="0" pnpm db.dump ``` +!!! example "Docker" + When self-hosting the bot using Docker, you can use `docker exec` to attach to the container. `docker exec -it [CONTAINER NAME] sh` will create an interactive shell, from which you can `cd` into `/app` and run the `db.dump` command. ### `db.prune`