chef-server icon indicating copy to clipboard operation
chef-server copied to clipboard

Documentation for backup/restore is missing a few steps

Open kkeane opened this issue 9 years ago • 2 comments

The documentation for backup/restore at https://docs.chef.io/server_backup_restore.html is overall very good, but if you follow it verbatim, it will use the old SSL certificate for the old server's FQDN.

Before the chef-server-ctl reconfigure command, the following should be added:

Ideally, the server you restore to will have the same FQDN as the one you backed up. If this is not possible, perform the following additional steps:

edit /etc/opscode/chef-server.rb and /etc/opscode/chef-server-running.json to replace the old FQDN with the new one.

Delete the old SSL certificate, key and <FQDN>-ssl.conf file from /var/opt/opscode/nginx/ca . If you use a CA-issued certificate instead of a self-signed certificate, copy that certificate and key into the same directory.

On each client, update the /etc/chef/client.rb file to point to the new server.

kkeane avatar Aug 15 '15 18:08 kkeane

Doc edit in : https://github.com/chef/chef-web-docs/blob/master/content/runbook/server_backup_restore.md

PrajaktaPurohit avatar Apr 03 '20 21:04 PrajaktaPurohit

https://github.com/chef/chef-web-docs/pull/3342

lbakerchef avatar Aug 18 '21 15:08 lbakerchef