I did a
drush config-export staging on a local version of my site then a
drush config-import staging on the server. It imported all the taxonomy vocabulary but no terms. I also tried it via the UI (Configuration->Development->Configuration Synchronization). Is this a bug or just the unfinished nature of Drupal 8?
I did a
Configuration management is exporting exactly what it was designed to do: Export the configuration settings. The actual taxonomy terms themselves are sitting in the
taxonomy_term_field_data table in the database.
This is by design as taxonomy terms is the content, not configuration.
Features deals exclusively with configuration and so won't include support for content entities such as taxonomy terms.
Source: Exporting of Taxonomy terms.
drush dcer taxonomy_term vid my_vocabulary --folder=dest/
See also: How do I export my site structure?
We have just released a module to solve this issue: https://www.drupal.org/project/structure_sync
It can synchronize taxonomy terms, menu links and custom blocks that are normally considered content but have a tendency to also be used for a sites structure that needs to be synchronized between environments.