euphoria83
euphoria83

Reputation: 15136

Where does chef-server store all the objects, such as nodes, clients, etc

The chef server must be storing the information about the various nodes, environments, etc in some files, presumably as json files. I am trying to find them so that I can create their backup, etc.

Upvotes: 1

Views: 1050

Answers (2)

Jonas Kongslund
Jonas Kongslund

Reputation: 5268

Chef provides documentation of how to backup and restore a Chef Server.

Upvotes: 0

coderanger
coderanger

Reputation: 54181

Most data, including all the you mentioned, is in the Postgres database. Cookbook metadata lives in Postgres but the actual file content lives in an S3-compatible service called Bookshelf. There is also the Solr index data which can technically be recreated from Postgres but depending on the number of nodes you have this might take longer than you prefer to wait on a restore.

Upvotes: 1

Related Questions