Thanks Todd and Elvin
I found that "knife download / upload" didn't restore nodes / clients / users. "knife backup" seems to get everything except users. So I'm using both to get all the data I want. Backup # knife backup export -D /home/stack/chef-repo/.chef/chef_server_backup # knife download --purge --chef-repo-path /home/stack/chef-repo/.chef/chef_server_backup --repo-mode everything /users Its not documented, but you need to restore all the folders, you cant just "restore everything" in one go. # knife backup restore clients # knife backup restore cookbooks # knife backup restore data_bags # knife backup restore nodes # knife backup restore roles Then "knife user create" to create my users. It appears I can't just pass in the json file file from "knife download /users" though and have to manually copy paste the data. ================================================= Steven Barre, RHCE, ZCE, MCP "> Systems Administrator / Programmer Real Estate Webmasters - 250-753-9893 ==================================================On 2013-04-17 12:23, Todd Bushnell wrote: " type="cite"> |
Archive powered by MHonArc 2.6.16.