my current (community) instance is 27.1.1 (" Nextcloud Hub 6 (27.1.1)") running on top of Debian 11.
Everything is really fine so far. I am just thinking to get a managed instance from a Nextcloud hosting provider and migrate my Nextcloud instance to a managed one.
My question is: Can the migration be seamless? Short downtimes are not an issue. Ideally no one will need to reconfigure it’s local client.
Is this possible? I guess only in case I am granted root access on the hosting server (which is unlikely). What would be the steps? I can imagine the following way:
- Get a Netcould instance from a provider
- rsync data files to new instance
- transfer database to new instance (users with passwords)
- Do a port forward to the new instance
- Change hostname/IP in DNS
Just my thoughts but I guess without root access it is not going to work, right?
It is possible, but you would definitely require ssh/ftp access to the new instance.
Essentially what you need to do is,
- Put both installations in maintenance mode.
- Export database from current installation
- Import database to new instance
- Transfer data folder
- Make sure file permissions are correct on the new data folder
- Redirect domain.
- Disable maintenance mode.
Hope that help!
It depends how many flexibility you get from your new provider. “managed” Nextcloud usually means you have no dedicated server anymore, no access to the OS and only get an account on an existing Nextcloud instance operated by the hoster. In turn this means new URL without any chance to reuse your old domain. While you can move your data user data with user migration app everything related to the existing DNS is lost e.g. file shares… check the docs for details
No, not unless you manage the server yourself, such as a VPS.
This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.