mdxp / knife-backup

knife plugin to help backup and restore a chef server.
Apache License 2.0
110 stars 45 forks source link

Backup users #19

Closed mdkent closed 10 years ago

mdkent commented 11 years ago

Hiya! I've recently noticed my Chef 11 backups were lacking something - users! Seems we've created a few new people using Chef 11 and ended up with some functional admin users without a corresponding client key. Guess this is the new way forward.

Enclosed is a quick branch to backup and restore users (http://docs.opscode.com/api_chef_server_user.html). Only quirk is the password reset on restore, otherwise it works fine.

Seeing as Chef::User was introduced in Chef 11 I chose to disable users support within the plugin. Hopefully this works properly as I lack a Chef 10 server to test against. Happen to have one?

korjjj commented 10 years ago

Upvoting this.

kovyrin commented 10 years ago

+1

Afterglow commented 10 years ago

:+1:

billyoung commented 10 years ago

:thumbsup:

claco commented 10 years ago

:+1:

miketheman commented 10 years ago

@mdxp Looks like a lot of folks are looking for this functionality - any chance you can take the time to review, provide feedback, consider merging, etc? Thanks!

pwelch commented 10 years ago

:+1:

eklein commented 10 years ago

:+1:

mdxp commented 10 years ago

Merged. Thank @mdkent!