From b83997f66c5450ae080999575ba12333bf535522 Mon Sep 17 00:00:00 2001 From: Florian Rupp Date: Sat, 6 Apr 2024 19:54:52 +0200 Subject: [PATCH] Added migration --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 84401d4..1e142ab 100644 --- a/README.md +++ b/README.md @@ -148,4 +148,5 @@ Add this to your `/your/nextcloud/root/nextcloud/config/config.php`: - +### Migrating from existing Nextcloud +To migrate you follow the steps described in the official [docs](https://docs.nextcloud.com/server/28/admin_manual/maintenance/migrating.html). The only difference here is importing the database backup into MariaDB running in the Docker Container. The way I did it is I exposed a port to MariaDB in the docker compose file and I ran something like `mysql -h [localhost:PORT HERE] -u nextcloud -pPASSWORD HERE nextcloud < database.bak` to import the backed up database. \ No newline at end of file