Dump sync content

Is it possible to dump the content of the database as it would appear in a sync folder? I recently changed the sync folder and updated the content, not realizing that the sync was not occurring properly. I now have an outdated backup. Instead of having the fail-safe which prevents the data from syncing (because of it being empty), can I dump the current database into the sync folder? I am trying to sync with the Local Filesystem option.

Platform Information

Joplin 1.0.245 (prod, linux)

Sync Version: 2
Profile Version: 33

Revision: 2aa7eaa1 (master)


Ubuntu 18.04 64-bit

You can export as Jex then reimport.

I managed to get the results by Exporting RAW to the directory I wanted, and I think the sync worked fine.