Added migration

This commit is contained in:
Florian Rupp 2024-04-06 19:54:52 +02:00
parent 48d8baec8d
commit b83997f66c
1 changed files with 2 additions and 1 deletions

View File

@ -148,4 +148,5 @@ Add this to your `/your/nextcloud/root/nextcloud/config/config.php`:
</details>
### 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.