Hi, I have a chef server setup on Amazon linux and was testing the backup/restore procedures
=What I want to do is to run chef-server-ctl backup on one server, then chef-server-ctl restore on a different server, but new installations are missing backup and restore commands.
Source - Server1:
I have followed the standard install and setup procedures
-wget https://web-dl.packagecloud.io/chef/stable/packages/el/7/chef-server-core-12.1.2-1.el7.x86_64.rpm
-rpm -Uvh chef-server-core-12.1.2-1.el7.x86_64.rpm
-chef-server-ctl reconfigure
-create user
-create org and assign user as admin
-create a node, upload some cookbooks
-ran: chef-server-ctl backup which created a backup tgz file
Destination - Server2:
The problem comes when I created the second chef server and tried to restore
-wget https://web-dl.packagecloud.io/chef/stable/packages/el/7/chef-server-core-12.1.2-1.el7.x86_64.rpm
-rpm -Uvh chef-server-core-12.1.2-1.el7.x86_64.rpm
-chef-server-ctl reconfigure
-ran chef-server-ctl and noticed the backup and restore commands are missing:
=== the only difference is that the first server was installed maybe 2 weeks ago and the new ones these last few days otherwise they should be identical ===
==Output of chef-server-ctl missing backup and restore commands on new server
chef-server-ctl
I don’t know that command.
/opt/opscode/embedded/bin/omnibus-ctl: command (subcommand)
General Commands:
cleanse
Delete all opscode data, and start from scratch.
cleanup
Perform post-upgrade removal of now-obsolete data, configuration files, logs, etc. Add the ‘–no-op’ flag to see what would be removed.
gather-logs
Create a tarball of recent logs and system information for Chef Support
help
Print this help message.
install
Install addon package by name, with optional --path parameter indicating directory containing packages
reconfigure
Reconfigure the application.
reindex
Reindex all server data for a given organization
show-config
Show the configuration that would be generated by reconfigure.
test
Run the API test suite against localhost.
uninstall
Kill all processes and uninstall the process supervisor (data will be preserved).
upgrade
Upgrade your private chef installation.
What am I doing wrong? What happened here?