Backup WordPress everything except Post & Media


Is there any way to backup & restore everything except Post & media?

Basically what I am trying to do is clone everything of wp setup without the post & media!

I have backupbuddy plugin, but it does not have that kind of features.
any other way?

Update: Looks BackupBuddy do have something similar. but not exactly what I wanted.


All Except post and media is database. You can simply dump the database and move it wherever you want :wink:


Actually my theme settings & some others configs are stored in the database


That’s a bad practice but you can simply export the necessary tables as well.