Backup site settings only (without any user content)?

Maybe I’m missing something, but here’s a thought that occurred to me while fiddling with my import scripts: wouldn’t it be nice if we had a backup feature that deals only with the site’s settings, but not the contents (posts, categories, uploads etc. should be left out)?

This would be a) somewhat reassuring if you had a staff of more than one who are allowed in the admin section. Plus b) it would ease my (admittedly somehow unstructured :blush:) import efforts, since I run an import (lengthy operation), leave it online for a while for my team to explore, change some things in the admin settings while it’s there, and then before my next importer run, when I want to revert to my pre-flight backup with only the basic settings, I’m pulling my hair trying to figure out which settings to write down in order not to lose them…

Try checking “Show overridden only” then “All” and write down all of those.

:laughing: I know that - but we’re still talking about 24ish pages of settigns - writing them all down and putting them back is a bit a PITA…

I was rather thinking towards “there must be a settings table in the DB” - which can easily be dumped and restored?

There is and it’s called site_settings :wink:

3 Likes