How to backup joplin server data on raspberry PI 4?

Operating system

Linux

Joplin version

3.4.3

Sync target

Joplin Server

Editor

Markdown Editor

What issue do you have?

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?

  1. backup at client level (on desktop only, since there is no backup plugin for mobile)
  2. stop the container > do the backup > restart the container
  3. other suggestion:____
    TIA
    tony

you need to shut down docker container, do the backup and start docker again to be sure everything is backed up correctly.

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 :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.