satellite-restore fails to restore a backup reporting
metadata.yml doesn't exist but is present.
# satellite-restore satellite-backup-path/ DEPRECATION WARNING: satellite-restore and katello-restore will be removed in Satellite 6.4, where they will be replaced by foreman-maintain WARNING: This script will drop and restore your database. Your existing installation will be replaced with the backup database. Once this operation is complete there is no going back. Are you sure(Y/N)? y Starting restore from satellite-backup-path/: 2019-07-26 11:16:17 -0400 /usr/share/ruby/psych.rb:342:in `initialize': No such file or directory - satellite-backup-path/metadata.yml (Errno::ENOENT) from /usr/share/ruby/psych.rb:342:in `open' from /usr/share/ruby/psych.rb:342:in `load_file' from /usr/share/katello/restore.rb:176:in `restore' from /usr/share/katello/restore.rb:282:in `confirm' from /usr/share/katello/restore.rb:292:in `run' from /sbin/satellite-restore:18:in `<main>' # ls satellite-backup-path/ config_files.tar.gz metadata.yml mongo_data.tar.gz pgsql_data.tar.gz pulp_data.tar
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.