How can I import/export settings into a file?

Tags are tags, not site settings. I’m not aware of a way to migrate tags.