What are the files and directories that should be saved for a backup of IdM/IPA?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 7
  • Identity Management / IPA

Issue

  • What are the files and directories that should be saved for a backup of IdM/IPA?
  • What tools could be used to backup IdM/IPA?

Resolution

IdM on RHEL6 (all minor versions) and RHEL7.0

The currently supported backup method is to create a replica.

Many services and components are part of an IdM/IPA setup, making it challenging to snapshot the relevant files at the same time. As an alternative to the creation of replica it could be investigated to run IdM inside of a virtual machine and snapshot/backup the whole virtual machine.

Upstream IPA implements commands ipa-backup and ipa-restore since version 3.2. More information can be found here: http://www.freeipa.org/page/V3/Backup_and_Restore. This was implemented in this upstream ticket: RFE IPA suite - backup & restore.

A thread on the upstream mailinglist regarding replica/master restore is here. The canonical upstream documentation regarding backup/restore is reachable here.

Backup & Restore IPA IdM is further discussed here

IdM on RHEL6 (all minor versions) and RHEL7.1GA and later

Starting with ipa-4.1.0-18.el7 released with RHSA-2015-0442, ipa-backup and ipa-restore are additionally available for backup/restore. This errata is already included in RHEL 7.1 GA.

Please refer to the IdM product documentation has further details.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments