I had a small nextcloud instance running on a raspberry pi. on which I had to reinstall the os. Before doing this, I made a copy (using rsync -a) of the nextcloud directory, and also the nextcloud data directory which I had put in a separate place as advised. I did not, unfortunately, make a dump of the database.
So my question is, what’s the quickest way to restore nextcloud to what it was before, given that I only had about 5 users? I would like to keep calendar info and things like this if possible, is this stored in the database?
Incidentally just before this happened I updated Nextcloud. Does the updater by any chance make a database dump?
The default is /var/lib/mysql , but this is not the dump, but DB itself.
Yes, sorry, I thought you were saying the updater might do a database dump, and was wondering where this might be stored in case it’s still around. However, I think just reinstalling, making new users again, and then copying the data is the way to go.