How can I import/export settings into a file?

I tried using rake site_settings:export > settings.yml. I noticed that the tags and tags groups that I configured on my Discourse server are not exported. Why is that?