Migrating standalone Linux Nextcloud into Nextcloud Plugin

hbauer

Dabbler
Joined
Aug 28, 2019
Messages
10
I am currently running a Nextcloud instance on a Debian box and I want to migrate this to a Truenas Nextcloud Plugin.

I have investigated the normal "Migrate to another Server" documentation https://docs.nextcloud.com/server/latest/admin_manual/maintenance/migrating.html but I do have some question because this document is a little bit different from my use case.

My plan is roughly

- create a new plugin/jail
- delete mysql db in jail
- delete filedirectory in jail
- create mysql dump on old
- move mysqldump + file directory into jail
- import mysql dump into databse on new
- change admin / keys in configure.php

my question is
- has anybody already finished such an exercise?
- do I loose plugin specific configuration settings when deleting the mysql database that was installed via the plugin?

Any hints are appreciated
Hagen
 

amlamarra

Explorer
Joined
Feb 24, 2017
Messages
51
Don't install the plugin. Just create a fresh jail. It'll be a lot less buggy, easier to upgrade, and you can just follow the migration instructions.
 
Top