Joplin empty after Backup

If you have a backup, you can create a new profile, import your backup there, and if all looks ok you follow this guide: How to fix synchronisation issues and start over

What is your sync target btw?

Do you have a recent JEX backup? Look into the folder of your Backup plugin. I am not sure Markdown backups include images and other attached files.