]> BookStack Code Mirror - website/commitdiff
Updated restore docs to advise against migration during install
authorDan Brown <redacted>
Thu, 12 Mar 2020 22:27:01 +0000 (22:27 +0000)
committerDan Brown <redacted>
Thu, 12 Mar 2020 22:29:08 +0000 (22:29 +0000)
- To avoid table creation conflicts from those created in the install
migrations and those in the backed-up db data.

Raised in BookStackApp/bookstack#1700

content/docs/admin/backup-restore.md

index 64e2056d41341cf0cd9c900d8531be1c70c49738..9b9d2b4d654dcbb60fb78c9115753dfbab9f0641 100644 (file)
@@ -73,10 +73,12 @@ data. Copy this to a safe place, ideally on a different device.
 
 ## Restore
 
-If you are restoring from scratch follow the
-[installation](/docs/admin/installation)
-instructions first to get a new BookStack instance up and running. Once you are
-sure the new instance is working follow the instructions below.
+If you are restoring from scratch follow the [installation](/docs/admin/installation)
+instructions first to get a new BookStack instance set-up.
+**Do not run the `php artisan migrate` installation step** when installing BookStack.
+You may need to comment this command out if using an installer script. If using
+a docker container, restore the database before running the BookStack container.
+Once you are sure the new instance is set-up follow the instructions below.
 
 #### Database