Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Restrore Deleted Sites in AEM

Avatar

Avatar
Affirm 1
Level 2
gauravtyagi
Level 2

Likes

10 likes

Total Posts

23 posts

Correct Reply

2 solutions
Top badges earned
Affirm 1
Boost 5
Boost 3
Give Back
Ignite 1
View profile

Avatar
Affirm 1
Level 2
gauravtyagi
Level 2

Likes

10 likes

Total Posts

23 posts

Correct Reply

2 solutions
Top badges earned
Affirm 1
Boost 5
Boost 3
Give Back
Ignite 1
View profile
gauravtyagi
Level 2

19-05-2021

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

471 likes

Total Posts

1,039 posts

Correct Reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

471 likes

Total Posts

1,039 posts

Correct Reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

19-05-2021

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 

Answers (2)

Answers (2)

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

570 likes

Total Posts

687 posts

Correct Reply

197 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

570 likes

Total Posts

687 posts

Correct Reply

197 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

19-05-2021

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

Avatar
Validate 1
Level 1
shuter009
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
shuter009
Level 1

Likes

0 likes

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
shuter009
Level 1

02-06-2021

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.