[root@foremanlxel8 ~]# foreman-maintain backup offline --skip-pulp-content -y /var/tmp/backup/
Starting backup: 2021-05-16 13:09:19 +0530
Running preparation steps required to run the next scenarios
Starting backup: 2021-05-16 13:09:19 +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? (assuming yes)
[OK]
Prepare backup Directory:
Creating backup folder /var/tmp/backup/katello-backup-2021-05-16-13-09-19
[OK]
Check if the directory exists and is writable: [OK]
Generate metadata:
/ Saving metadata to metadata.yml [OK]
Detect features available in the local proxy: [OK]
disable active sync plans:
/ Total 0 sync plans are now disabled. [OK]
Add maintenance_mode chain to iptables: [OK]
Stop applicable services:
Stopping the following service(s):
postgresql, pulpcore-api, pulpcore-content, pulpcore-resource-manager, pulpcore-api.socket, pulpcore-content.socket, smart_proxy_dynflow_core, tomcat, dynflow-sidekiq@orchestrator, foreman, httpd, puppetserver, foreman.socket, dynflow-sidekiq@worker, dynflow-sidekiq@worker-hosts-queue, foreman-proxy
/ All services stopped [OK]
Backup config files:
/ Collecting config files to backup [OK]
Backup Candlepin DB offline:
\ Collecting data from /var/opt/rh/rh-postgresql12/lib/pgsql/data/ [FAIL]
No such file or directory @ dir_chdir - /var/opt/rh/rh-postgresql12/lib/pgsql/data/
Scenario [Backup] failed.
The following steps ended up in failing state:
[backup-offline-candlepin-db]
Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="backup-offline-candlepin-db"
The runner is already in quit state
[root@foremanlxel8 ~]#