Actions
Bug #33050
closedbackup restore assumes presence of mongo data
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
When trying to restore a Katello 4.1 backup, I am getting an error:
[root@centos7-katello-4-1 ~]# foreman-maintain restore /var/tmp/katello_offline/katello-backup-2021-07-19-09-41-40/ Running Restore backup ================================================================================ Check if command is run as root user: [OK] -------------------------------------------------------------------------------- Validate backup has appropriate files: [FAIL] The given directory does not contain the required files or has too many files All backup directories contain: config_files.tar.gz An online or remote database backup directory contains: mongo_dump, candlepin.dump, foreman.dump, pulpcore.dump An offline backup directory contains: mongo_data.tar.gz, pgsql_data.tar.gz A logical backup directory contains: mongo_dump, candlepin.dump, foreman.dump, pulpcore.dump, mongo_data.tar.gz, pgsql_data.tar.gz Including pulp_data.tar is optional and will restore pulp data to the filesystem if included. Only the following files were found: pgsql_data.tar.gz, config_files.tar.gz, metadata.yml -------------------------------------------------------------------------------- Scenario [Restore backup] failed. The following steps ended up in failing state: [restore-validate-backup] Resolve the failed steps and rerun
This seems because the backup has no mongo_data.tar.gz, as 4.1 doesn't have any MongoDB anymore.
This is on 0.8.6
Actions