I have two instances of Nextcloud running. One on my home server for really sensible data, fotos and large files where I have a internal backup drive set up and do a additional back up on a external storage.
Now I have a second instance running for my family on a virtual ubuntu server by a hoster. I have encryption (also for the local data folder) enabled. My hoster is doing a backup on regular basis which I can restore 24/7. So normally I don’t see a need to do the normal backup of the whole nextcloud (config, data, database etc.) described in the nextcloud documentation. Because as long as my hoster is still fine I can use their backups. I want to be safe for the worst case. This is the case if the hoster can not be reached anymore for a long time. In this case I would only need the data, no configuration etc. So my plan is to use rsync from from home server to pull the backup data. But now I’m struggling with the encryption.
So how to do a backup of the encrypted data without backing up the whole nextcloud? Can I do a simple backup of the data folder including the encryption keys to deecrypt in another nextcloud instance? Or is there another solution available?
Because in the worst case scenario I don’t want to set up a new nextcloud instance.
Thanks in advance.