Actions
Bug #30529
closedforeman-maintain backup fails
Difficulty:
Triaged:
No
Description
Foreman maintain backup fails with the below error.
[root@katello-2 foreman_maintain]# ./bin/foreman-maintain backup offline /tmp/
Starting backup: 2020-07-30 13:09:05 +0530
Running preparation steps required to run the next scenarios
================================================================================
Make sure Foreman DB is up:
/ Checking connection to the Foreman DB [OK]
--------------------------------------------------------------------------------
Running Backup
================================================================================
Confirm turning off services is allowed:
WARNING: This script will stop your services.
Do you want to proceed?, [y(yes), q(quit)] y
[OK]
--------------------------------------------------------------------------------
Prepare backup Directory:
Creating backup folder /tmp/foreman-backup-2020-07-30-13-09-05 [FAIL]
Either or /*.snar files unavailable. Provide a valid previous backup directory
--------------------------------------------------------------------------------
Scenario [Backup] failed.
The following steps ended up in failing state:
[backup-prepare-directory]
Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="backup-prepare-directory"
Actions