I had a working installation of nextcloudpi running on an SD card but now is not booting. I used fsck and certain errors were fixed but it is still not booting. I can mount it and see the content.
I would like to put a new image in a new SD card but without loosing the database/users/files/etc/configuration. I was using an external USB drive but I am not sure exactly what is there in addition to the user files themselves. So my questions are:
- What is exactly stored in the external drive?
- What is the correct way to migrate to a new SD drive?