Backup-Restore Strategy in Foreman

Foreman-Maintain plugin throws error while taking backup from the foreman server. I am using the command : foreman-maintain backup offline /tmp/backup . Error comes like :

Backup config files:
/ Collecting config files to backup                                   [FAIL]
undefined method `[]' for nil:NilClass
Scenario [Backup] failed.

The following steps ended up in failing state:


Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="backup-config-files"

Running Failed backup cleanup
Expected outcome:
The foreman-maintain plugin should complete the backup.
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data:
I can see that the foreman-maintain plugin doesn’t works with standalone foreman as mentioned in the manual -

Backup and Restore in Foreman Maintain works on the following:

  • Katello (>3.0)
  • Foreman Proxy with Content (>3.0)
    Backup and Restore support for standalone Foreman is currently in development.

Can you please let me know how much time will it take to be completed ?
Do we have any other strategy for the same currently ? I have to backup and restore foreman in 2 different servers (dev to prod environment).

I have the same problem with Foreman 1.24

Hi Team,

Is there any other option for the backup and restore till the plugin doesn’t works for foreman 1.23.
I mean any step by step guide which can be done manually on the foreman servers ?