Hello,
I think you can leverage the Site backup mode.
First of all you'll have to exclude all files and folders from your backup, just leave a meaningless file included (for example robots.txt) to avoid any surprises. I think the backup should work fine even if there are no files/folders included, but let's play safe and include at least a dummy file.
Then you can run a backup as usual.
If you ever need to restore the backup, you can do that from the Manage Backups page.
There you'll start the restoration process, where it will restore the dummy file and then guide you to restore the SQL database.
Davide Tampellini
Developer and Support Staff
🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!