Restore from backup

When necessary, you can use a backup file to roll back to a previous version of your Continuous Delivery for PE set-up without changing the underlying infrastructure.

To restore from a backup:

  1. Generate a list of existing backups to determine which backup file you wish to restore. From the root of your Continuous Delivery for PE Bolt project run:
    bolt plan run cd4peadm::list_backups
  2. Confirm your Continuous Delivery for PE version matches the version of the desired backup. If the version does not match, revert or upgrade the module to the same version as the backup. From the root of your Continuous Delivery for PE Bolt project run:
    bolt module show puppetlabs/cd4peadm
  3. Restore from the backup file. From the root of your Continuous Delivery for PE Bolt project run:
    bolt plan run cd4peadm::restore backup=<name>
  4. If database passwords have been updated since the backup was created you must update the installation with the new passwords. From the root of your Continuous Delivery for PE Bolt project run:
    bolt plan run cd4peadm::configure