Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Restrore Deleted Sites in AEM

Avatar

Level 3

Hi,

 

I deleted WKND site from my local hosted AEM and now i want to restore it back, Is it possible and could you give the exact path where i can get the restore option please, I checked under tools but cant find any restore option there.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

If you have deleted the code , it cannot be undone. You have to re-install the package if you already have it or you can get the latest one from https://github.com/adobe/aem-guides-wknd/releases/tag/aem-guides-wknd-0.3.0 

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @gauravtyagi 

 

When you say you deleted the site from your local AEM instance, what exactly you removed?

 

An website contains multiple section such as content page, assets, code package (zip and jar).

Default code and content package including assets for WKND will be available as part of the code base and you can restore it back by rebuilding the project using the maven command.

 

Please run the below command in code base:

 

AEM Authro: mvn clean install -PautoInstallSinglePackage

AEM Publish: mvn clean install -PautoInstallSinglePackagePublish

 

Please note this will not restore any customized code or content page and only default code and content available as part of the code base will become available on AEM.

 

If you have removed only content pages or code from AEM sites or crx/de and have not made any changes to crx/packmgr, your package will still be available in http://localhost:4502/crx/packmgr/index.jsp where you can go ahead and restore the same package which was installed last time.

 

If you have any specific page that you deleted accidentally and want to restore, you cannot do it.

 

Thanks!

Avatar

Correct answer by
Community Advisor

If you have deleted the code , it cannot be undone. You have to re-install the package if you already have it or you can get the latest one from https://github.com/adobe/aem-guides-wknd/releases/tag/aem-guides-wknd-0.3.0 

Avatar

Level 2

If you have created a package or snapshot of an existing project you can get it but If you haven't you have to start it again from the scratch.