From ad3a9d5ae9832a25c15f6846dc5b35531955fe8a Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 26 Jan 2023 23:44:31 +1100 Subject: [PATCH] Add note about skipping backup during update step (#428) --- docs/start/docker_prod.md | 3 +++ docs/start/install.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docs/start/docker_prod.md b/docs/start/docker_prod.md index cc3c28d..a47ac32 100644 --- a/docs/start/docker_prod.md +++ b/docs/start/docker_prod.md @@ -213,6 +213,9 @@ Run the following command to ensure that the InvenTree database is updated: docker-compose run inventree-server invoke update ``` +!!! info "Skip Backup" + By default, the `invoke update` command performs a database backup. To skip this step, add the `--skip-backup` flag + ### Start Containers Now restart the docker containers: diff --git a/docs/start/install.md b/docs/start/install.md index 6eee60a..50f3be3 100644 --- a/docs/start/install.md +++ b/docs/start/install.md @@ -291,6 +291,9 @@ Updating the database is as simple as calling the `update` script: invoke update ``` +!!! info "Skip Backup" + By default, the `invoke update` command performs a database backup. To skip this step, add the `--skip-backup` flag + This command performs the following steps: * Ensure all rquired packages are installed and up to date