From e15568c42a3ad0e5ba02ecb3cf85a3d4d3a1ec23 Mon Sep 17 00:00:00 2001 From: tchapi Date: Mon, 2 Dec 2019 10:24:35 +0100 Subject: [PATCH] =?UTF-8?q?Add=20info=20when=20migrating=20from=20Ba=C3=AF?= =?UTF-8?q?kal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index d49656d..5ec7e37 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,21 @@ f. The paths for the WebDAV installation TMP_DIR='/tmp' PUBLIC_DIR='/public' ``` +## Migrating from Baïkal ? + +If you're migrating from Baïkal, then you will likely want to do the following : + +1. Get a backup of your data (without the `CREATE` statements, but with complete `INSERT` statements): + + mysqldump -u root -p --no-create-info --complete-insert baikal > baikal_to_davis.sql # baikal is the actual name of your database + +2. Create a new database for Davis (let's name it `davis`) and run the migrations : + + bin/console doctrine:migrations:migrate + +3. Reimport the data back: + + mysql -uroot -p davis < baikal_to_davis.sql # Access / Webserver