Project

General

Profile

Actions

Bug #33050

closed

backup restore assumes presence of mongo data

Added by Evgeni Golov almost 3 years ago. Updated over 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Is duplicate of Foreman Maintain - Feature #32778: Incorporate pulp3 backup and restore scenariosClosedAmit UpadhyeActions
Actions #1

Updated by Amit Upadhye almost 3 years ago

  • Is duplicate of Feature #32778: Incorporate pulp3 backup and restore scenarios added
Actions #2

Updated by Evgeni Golov over 2 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF