Exporting is just for backup, if you're sure your OneDrive is up to date you can skip it. On Linux, the folder is ~/.config/joplin-desktop.
~/.config/joplin-desktop