Answers.Body: <p>Basically look for the tables "craft_fields", "craft_content" and "craft_sections".
  For Fields you can use the "Field Manager" Plugin.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-18T15:18:23.180Z
Answers.Text: Thanks for the hint with Field Manager! I just realized that it doesn't (of course) save entry types & sections. This is stuff that IMHO should be in versioning. Is there another way to export that too?
Answers.UserDisplayName: Urs
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-04T08:59:56.697Z
Answers.Text: The Plugin "Feed Me" is available for Craft 2 + 3. That can import/export entries (free version) an Categories, Users, and Commerce Products (Pro only).
Answers.UserDisplayName: phaetons
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-05T07:02:29.990Z
Answers.Text: But this exports content, right? I only want to version the settings/structure for fields, sections and entry types
Answers.UserDisplayName: Urs
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-08T11:56:09.820Z
Answers.Text: Ok, i just learned, "Feed Me" can only import Entries from CSV, JSON etc.. You may have a look at "Architect" https://github.com/Pennebaker/craft-architect
Answers.UserDisplayName: phaetons
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-08T16:12:07.303Z
Answers.Text: Yay, that looks more like it!!
Answers.UserDisplayName: Urs
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-24T10:36:47.063Z
Answers.LastActivityDate: 2018-08-24T10:36:47.063Z
Answers.UserDisplayName: phaetons
Body: <p>I would like to add field and section definitions to versioning. Or at least, have them backed up constantly.</p>
  
  <p>I haven't been able to find out yet how craft handles this. I'd say it's in the database, but apparently it's not: the database has a <code>uid</code> column where values like <code>305ed8b6-3519-422f-8436-eca448145656</code> are stored. This probably refers to some git-ish entries in the file system.</p>
  
  <p>So is this out of reach for manual save/restore/export/import?</p>
  
Tags: <templating><fieldtypes>
Title: Where does Craft store the field definitions?
ThreadText: # Where does Craft store the field definitions?
  
  (Asked by: username_0 on 2018-08-24)
  
  I would like to add field and section definitions to versioning. Or at least, have them backed up constantly.
  
  I haven't been able to find out yet how craft handles this. I'd say it's in the database, but apparently it's not: the database has a `uid` column where values like `305ed8b6-3519-422f-8436-eca448145656` are stored. This probably refers to some git-ish entries in the file system.
  
  So is this out of reach for manual save/restore/export/import?
  
  **Tags:** templating, fieldtypes
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-08-24. Score: 2
  
  Basically look for the tables "craft\_fields", "craft\_content" and "craft\_sections".
  For Fields you can use the "Field Manager" Plugin.
  
  > **Comments:**
  > **username_0**: Thanks for the hint with Field Manager! I just realized that it doesn't (of course) save entry types & sections. This is stuff that IMHO should be in versioning. Is there another way to export that too?  
  > **username_1**: The Plugin "Feed Me" is available for Craft 2 + 3. That can import/export entries (free version) an Categories, Users, and Commerce Products (Pro only).  
  > **username_0**: But this exports content, right? I only want to version the settings/structure for fields, sections and entry types  
  > **username_1**: Ok, i just learned, "Feed Me" can only import Entries from CSV, JSON etc.. You may have a look at "Architect" https://github.com/Pennebaker/craft-architect  
  > **username_0**: Yay, that looks more like it!!  
  
  ---
  
  