I just finished installing joplin server 3.4.3 on my raspberry PI 4.
I just followed the tutorial in this site and getting help with Claude (Anthropic).
It seems to work.
Now, before creating users and begin transferring existing notes (I have 10GBs of notes myself) I would like to set a backup policy, just in case...
I currently use "Duplicati" and it works perfectly.
But since Joplin Server run inside a Docker container some files are open when the backup start.
At the end, the backup ends succesfully, but with some warnings; essentially the metadata is in use by another process (docker I suppose) and cannot be backed up.
What is the best approach to save Joplin server data?
backup at client level (on desktop only, since there is no backup plugin for mobile)
stop the container > do the backup > restart the container
The simplest is to rely on the joplin desktop daily backup enabled by default.
But keep in mind that in case you restore from that JEX file, note ids will have changed, and published notes will have to be manually republished and their public url will have changed. All that could be avoided if you backup on the server side (which I never did personally).
If you find an elegant solution automatically backup the server side, please share, it will be very valuable. I have yet to see one.
The most “elegant” solution is an external postgresql server and S3 filesystem, in that case you completely don’t need to take any regular backups of the joplin server docker container itself