If utilized to their fullest, these files can be used to maintain the entire server's collections and metadata, and can be used as a backup for these in the event of a restore requirement.
Collections, templates, metadata, and dynamic collections are defined within one or more Metadata files, which are linked to libraries in the [Libraries Attribute](../config/libraries.md#metadata-path) within the [Configuration File](../config/configuration.md).
| [`templates`](templates.md) | contains definitions of templates that can be leveraged by multiple collections |
| [`external_templates`](templates.md#external-templates) | contains [path types](../config/paths.md) that point to external templates that can be leveraged by multiple collections |
* Example Metadata Files can be found in the [Plex Meta Manager Configs Repository](https://github.com/meisnate12/Plex-Meta-Manager-Configs/tree/master/PMM)
This example is a Metadata file with a basic collection which is saved in a file called `MyCollections.yml` within the location mapped as `config` in my setup.
???+ example "Example "MyCollections.yml"""
```yaml
collections: # this must appear once and **only once** in any Metadata file
Top 50 Grossing Films of All Time (Worldwide):
tmdb_list: 10 # https://www.themoviedb.org/list/10 also accepted
collection_order: custom
sync_mode: sync
```
This file would then be defined in my `config.yml` file as a `metadata_path` item:
???+ example "config.yml Example Metadata Path Addition"
```yaml
libraries:
Movies: # this must match the name of a library in your Plex server
Each collection requires its own section within the `collections` attribute and unlike playlists, collections can be built using as many Builders as needed.
Plex Meta Manager can automatically update items in Plex [Movie](metadata/movie.md), [Show](metadata/show.md), and [Music](metadata/music.md) Libraries based on what's defined within the `metadata` attribute.