I bought a new machine and want to migrate my old Nextcloud AIO instance to it.
This post states that one possible way to migrate is using the borg backup tool.
I fear though that I might mess something up in this step.
Because I have all my Nextcloud Data on a external SSD anyways I wondered if it is possible to plug the external SSD into the new server and point to the correct location using NEXTCLOUD_DATADIR ?
If it is really all nextloud data, i.e. including the DB, that might be possible. Do you have a backup of that external HDD? If so, you can give it a try without fearing any data loss.
The whole point of docker is that you can easily replace the apps, while the data stays the same.
Yes. Setup docker master container with the datadir and try. But as I said, try with a backup, e.g. create an image of the external disk or similar, before you start.
Okay at this point I think it is easier to just apply an backup
Doesn’t hurt anyway to test the backup solution every once in a while.
EDIT: Just did it, it was super easy. No complications at all. Just run the nextcloud aio on the new machine and selected restore from backup during the installation process