Restore the Content Overridden from the other package | Community
Skip to main content
Level 4
August 29, 2016
Solved

Restore the Content Overridden from the other package

  • August 29, 2016
  • 6 replies
  • 3107 views

Had multiple pages under :

/content/a/b . 

Someone uploaded another package for the same content path  : /content/a/b. 

As I lost few content pages , is there a way to recover deleted pages ?

Best answer by antoniom5495929

If you want to revert change of "one step back" i think that you can just only uninstall the package and you can return to the version before the last installation.

Let us know if this works.

6 replies

smacdonald2008
Level 10
August 29, 2016

The best way is to re-install the package that contains original content. Do you have that package?

Level 4
August 29, 2016

Unfortunately I did not create the package with original content. 

Is it possible to restore the repository for the particular date when it got replaced ? 

kautuk_sahni
Community Manager
Community Manager
August 29, 2016

I doubt that now we can get back original content.

The best practice is to always create a version of pages we are working on.

~kautuk 

Kautuk Sahni
Ashokkumar_TA
Level 2
August 29, 2016

One option is to edit the journal.log by deleting the last few entries to take the repository to a previous state. This is a crude way of restoring and not sure if Adobe supports this approach. Take your Adobe support advice before trying this. 

For a try, you can take a copy of your AEM and try. Note, the journal.log does not provide any useful input for you to identify what updates have happened when. Its just a running sequence of unique id's. 

Note that this rolls back the complete repository to a state as of previous point in time and not just the nodes you are interested in. Similar to restoring from the backup for a previous state. 

antoniom5495929
antoniom5495929Accepted solution
Level 7
August 29, 2016

If you want to revert change of "one step back" i think that you can just only uninstall the package and you can return to the version before the last installation.

Let us know if this works.

kautuk_sahni
Community Manager
Community Manager
August 30, 2016

Hi Kapil

Please try the approach mentioned by Antonio.

Try Un-installing the package and you can return to the last installed version.

Please share any other solution that you are trying.

~kautuk

Kautuk Sahni
Flores-Lucas
May 17, 2024

The solution of "uninstalling" the package does resolve the problem. "During the uninstall, the contents of the repository are reverted to the snapshot made immediately prior to the installation of the package." from - https://experienceleague.adobe.com/en/docs/experience-manager-guides/using/install-guide/on-prem-ig/download-install-upgrade-aemg/download-install-unistall-aemg