Recover the AEM forms data
-
Stop the AEM forms services and application server if running.
-
If necessary, re-create the physical system from a system image. For example, this step may not be necessary if the reason for recovery is a faulty database server.
-
Apply patches or updates to AEM forms that were applied since the image was made. This information was recorded in the backup procedure. AEM forms must be patched to the same patch level as it was when the system was backed up.
-
(WebSphere® Application Server) If you are recovering to a new instance of WebSphere® Application Server, run the restoreConfig.bat/sh command.
-
Recover the AEM forms database by first running a database restore operation using the database backup files and then applying the transaction redo logs to the recovered database. (See AEM forms database.) For more information, see one of these knowledge base articles:
-
Recover the GDS directory by first deleting the contents of the GDS directory on the existing installation of AEM forms and then copying the contents of the GDS directory from the backed-up GDS. If you changed the GDS directory location, see Changing the GDS location during recovery.
-
Rename the GDS backup directory to be restored as shown in these examples:
NOTE
If the /restore directory already exists, back it up and then delete it before you rename the /backup directory that contains the latest data.-
(JBoss®) Rename
[appserver root]/server/'server'/svcnative/DocumentStorage/backup
to:[appserver root]/server/'server'/svcnative/DocumentStorage/restore
. -
(WebLogic) Rename
[appserverdomain]/'server'/adobe/AEMformsserver/DocumentStorage/backup
to:[appserverdomain]/'server'/adobe/AEMformsserver/DocumentStorage/restore
. -
(WebSphere®) Rename
[appserver root]/installedApps/adobe/'server'/DocumentStorage/backup
to:[appserver root]/installedApps/adobe/'server'/DocumentStorage/restore
.
-
-
Recover the Content Storage Root directory by first deleting the contents of the Content Storage Root directory on the existing installation of AEM forms and then recovering the contents by following the tasks for either stand-alone or clustered environments:
NOTE
The backup of the Content Storage Root directory must be restored to the location of the Content Storage Root directory as it was set during Content Services (Deprecated) configuration.Standalone: During the recovery process, restore all the directories that were backed up. When these directories are restored, if the /backup-lucene-indexes directory is present, rename it to /lucene-indexes. Otherwise, the lucene-indexes directory should already exist and no action is required.
Clustered: During the recovery process, restore all the directories that were backed up. To restore the Index Root directory, perform the following steps on each node of the cluster:
- Delete all content in the Index Root directory.
- If the /backup-lucene-indexes directory is present, copy the contents of the Content Storage Root directory/backup-lucene-indexes directory to the Index Root directory and delete the Content Storage Root directory/backup-lucene-indexes directory.
- If the /lucene-indexes directory is present, copy the contents of the Content Storage Root directory/lucene-indexes directory to the Index Root directory.
-
Restore/recover the CRX-repository.
-
Standalone
Restore author and publish instances: If a disaster occurs, you can restore the repository to the last backed up state by performing the steps described in Backup and Restore.
The complete restoration of Author node ascertains the restoration of Forms Manager and AEM Forms Workspace data as well.
-
Clustered
For restoration in a clustered environment, see Strategy for backup and restore in a clustered environment.
-
-
Delete any AEM forms temporary files that were created in the java.io.temp directory or in the Adobe temp directory.
-
Start AEM forms (see Starting and stopping services).