I’m thinking of running an external NFS server on the same LAN and then configure my yunohost as an NFS client so that all the data on the directories you are telling me can be stored on my external NFS server. I think that way I could solve the problem exposed here.
My goal is to be able to restore Yunohost after an incident while keeping data intact.
Now I know the paths for mail and XMPP, but what about other apps? How do I find out which data directory or directories I should put on the NFS server?
For the time being I am interested in Cryptpad, Bookstack and Mastodon.