I have Nextcloud 12.0.3 running on a CentOS Linux server, and it’s running without issues. I have 8-10 users, and a total of about 130 GB of data among them. I’m using local LDAP authentication, which is also working without issues.
For a variety of reasons, I’m looking into migrating this instance to a different server. That system would still be running on a CentOS base, but using Active Directory instead. It will also have rather a different directory layout, but I don’t expect that to be a major problem.
My concern is that the user data directories in Nextcloud, both on the old system and the new, are using long hex numbers rather than the usernames (directory names like
fe46de38-fa60-1034-85fc-210f940426a1 on the old system,
B66D296C-43B2-41CC-8756-FAD170888067 on the new). I don’t expect that, even with the same usernames on the old and new systems, those IDs will remain consistent.
So, I have thousands of files, and about 130k rows in the database, that I’m going to need to account for. How would I go about making a migration like this?