Chef-server storing json objects in SCM


#1

The wiki says that chef-server can store objects in an SCM (option 1 on
https://wiki.opscode.com/display/chef/Backing+Up+Chef+Server ) but I’m not
finding any guides or mention of how to make it do that.


#2

You can start here:

and perhaps this:

On Fri, Dec 6, 2013 at 11:24 AM, mike_peck@intuit.com wrote:

The wiki says that chef-server can store objects in an SCM (option 1 on
https://wiki.opscode.com/display/chef/Backing+Up+Chef+Server ) but I’m not
finding any guides or mention of how to make it do that.


Mark Ayers, a human, Est. 1962


#3

Just to clear up, the Chef server doesn’t store anything in SCM.

You can do that from a client workstation — download all objects from the server, commit them.

knife-essentials [1] can help you with that and it’s embedded in core Chef since 11.0, I think.

[1] https://github.com/jkeiser/knife-essentials

–Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal

On Friday, December 6, 2013 at 17:36, Mark Ayers wrote:

You can start here:

and perhaps this:

On Fri, Dec 6, 2013 at 11:24 AM, <mike_peck@intuit.com (mailto:mike_peck@intuit.com)> wrote:

The wiki says that chef-server can store objects in an SCM (option 1 on
https://wiki.opscode.com/display/chef/Backing+Up+Chef+Server ) but I’m not
finding any guides or mention of how to make it do that.


Mark Ayers, a human, Est. 1962


#4

Thank you.

Yes, I was mis-understanding how that works.

Thanks!

Mike

From: Cassiano Leal <cassianoleal@gmail.commailto:cassianoleal@gmail.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Friday, December 6, 2013 1:03 PM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Re: chef-server storing json objects in SCM…

Just to clear up, the Chef server doesn’t store anything in SCM.

You can do that from a client workstation — download all objects from the server, commit them.

knife-essentials [1] can help you with that and it’s embedded in core Chef since 11.0, I think.

[1] https://github.com/jkeiser/knife-essentials


Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal

On Friday, December 6, 2013 at 17:36, Mark Ayers wrote:

You can start here:

and perhaps this:

On Fri, Dec 6, 2013 at 11:24 AM, <mike_peck@intuit.commailto:mike_peck@intuit.com> wrote:
The wiki says that chef-server can store objects in an SCM (option 1 on
https://wiki.opscode.com/display/chef/Backing+Up+Chef+Server ) but I’m not
finding any guides or mention of how to make it do that.


Mark Ayers, a human, Est. 1962

[http://i1.wp.com/markpaulayers.com/wp-content/uploads/2013/02/180x180.png?fit=1272%2C1272]


#5

In fact, backup and restore work identically to how the 10 -> 11 upgrade
works:

On Fri, Dec 6, 2013 at 1:07 PM, Peck, Mike Mike_Peck@intuit.com wrote:

Thank you.

Yes, I was mis-understanding how that works.

Thanks!

Mike

From: Cassiano Leal cassianoleal@gmail.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Friday, December 6, 2013 1:03 PM
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Re: chef-server storing json objects in SCM…

Just to clear up, the Chef server doesn’t store anything in SCM.

You can do that from a client workstation — download all objects from
the server, commit them.

knife-essentials [1] can help you with that and it’s embedded in core
Chef since 11.0, I think.

[1] https://github.com/jkeiser/knife-essentials


Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal

On Friday, December 6, 2013 at 17:36, Mark Ayers wrote:

You can start here:

and perhaps this:

On Fri, Dec 6, 2013 at 11:24 AM, mike_peck@intuit.com wrote:

The wiki says that chef-server can store objects in an SCM (option 1 on
https://wiki.opscode.com/display/chef/Backing+Up+Chef+Server ) but I’m not
finding any guides or mention of how to make it do that.


Mark Ayers, a human, Est. 1962


#6

On Fri, 6 Dec 2013 13:56:22 -0800 John Keiser jkeiser@opscode.com
wrote:

In fact, backup and restore work identically to how the 10 -> 11
upgrade works:

http://www.opscode.com/blog/2013/03/12/5106/

Which, I have to stress this now and here, is a really cool thing! I
did (manual) backups of all the chef-stuff within our chef-repo. And
last week I broke our chef10-server (already scheduled for replacement)
beyond easy repair. The choice was between spending a day to re-create
a chef10 server with all the data and hope all still works. Or
fast-track the ticket to set up a new chef11 server and import the data
from the version control backup and add all machines to the new server.
Took me 7:30 hours (according to our time-tracking) to do the later.
Thanks to all the devs of opscode!

Have fun,

Arnold