Selective Content Restoration Options

Before restoring to a full content restoration, consider these options to restore your content more easily.

If none of the above options work and the contents of the deleted path are significant, perform a content restoration as detailed in the following sections.

Create User Role

By default no user will have permission to execute content restorations on development, production, or staging environments. In order to delegate this permission to specific users or groups following these general steps.

  1. Create a product profile with an expressive name that refers to content restoration.
  2. Provide the Program Access permission on the required program.
  3. Provide the Content Restore permission on the required environment or all environments of the program, depending on your use case.
  4. Assign users to that profile profile.

For details on managing permissions, see Custom Permissions documentation.

Restoring Content

First determine the time frame of the content that you want to restore. Then to restore your environment’s content from a backup perform these steps.

NOTE
A user must have appropriate permissions to initiate a restore operation.
  1. Log into Cloud Manager at my.cloudmanager.adobe.com and select the appropriate organization.

  2. Click the program for which you want to initiate a restore.

  3. From the Program Overview page, in the Environments card, click the ellipsis button next to the environment for which you want to initiate a restore and select Restore Content.

    Restore option

    • Alternatively you can navigate directly to the Restore Content tab of the environment details page of a specific environment.
  4. On the Restore Content tab of the environment details page, first select the time frame of the restore under the Time to restore drop-down list.

    1. If you select Last 24 hours the neighboring Time field lets you specify the exact time within the last 24 hours to restore.

      Last 24 hours

    2. If you select Last week the neighboring Day field lets you select a date within the past seven days, excluding the previous 24 hours.

      Last week

  5. Once you select a date or specify a time, the Backups available section below shows a list of available backups that can be restored

    Backups available

  6. Find the backup you want to restore by using the information icon to view information regarding the version of the code and AEM release included in that backup and consider the implications of a restore when choosing the backup.

    Backup info

    • The time stamp displayed for the restore options are all based on the user’s computer’s time zone.
  7. Click the Restore icon at the right end of the row representing the backup you want to restore to start the restore process.

  8. Review the details on the Restore Content dialog before confirming your request by clicking on Restore.

    Confirm restore

The backup process is initiated and you can view its status in the Restore Activity list. The time required for a restore operation to complete depends on the size and profile of the content being restored.

When the restore successfully completes the environment will:

  • Run the same code and AEM release as at the time of initiating the restore operation.
  • Have the same content that was available at the timestamp of the chosen snapshot, with the indexes rebuilt to match the current code.

Choosing the Right Backup

Cloud Manager’s self-service restore process only restores content to AEM. For this reason, you must carefully consider code changes that were made between your desired restore point and the current time by reviewing the commit history between the current commit ID and the one being restored to.

There are several scenarios.

  • The custom code on the environment and the restore are on the same repository and same branch.

  • The custom code on the environment and the restore are on the same repository but a different branch with a common commit.

  • The custom code on the environment and the restore are on different repositories.

    • In this case, a commit ID will not be displayed.
    • It is strongly recommended that you clone both repositories and use a diff tool to compare the branches.

Also, keep in mind that a restore might cause your production and staging environments to fall out of sync. You are responsible for the consequences of restoring content.

Restore Activity

The Restore Activity list shows the status of the ten most recent restore requests including any active restore operations.

Restore activity

By clicking on the information icon for a backup, you can download logs for that backup and inspect the code details including the differences between the snapshot and data at the moment the restore was initiated.