Undo Move of Assets in Bulk | Community
Skip to main content
Level 3
October 16, 2024
Solved

Undo Move of Assets in Bulk

  • October 16, 2024
  • 3 replies
  • 860 views

Hello all, we have a new publisher who unfortunately moved around 200+ assets from multiple source locations to multiple destinations.. is there any easy way to undo this, we have the time period and the name of the person.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by narendragandhi

Hello @harishred 

 

The ACS AEM Commons Audit log search can help you identify the list of those assets along with their paths - https://adobe-consulting-services.github.io/acs-aem-commons/features/audit-log-search/index.html but the actual undo of the move may have to be done manually.

 

If you are on AEM 6.5 and do not have auto publish enabled, you maybe able to generate a package of those assets from Publish instance and install on Author.

 

Looking forward to hear from others if there is any efficient way. 

 

Thanks
Narendra

3 replies

narendragandhi
Community Advisor
narendragandhiCommunity AdvisorAccepted solution
Community Advisor
October 17, 2024

Hello @harishred 

 

The ACS AEM Commons Audit log search can help you identify the list of those assets along with their paths - https://adobe-consulting-services.github.io/acs-aem-commons/features/audit-log-search/index.html but the actual undo of the move may have to be done manually.

 

If you are on AEM 6.5 and do not have auto publish enabled, you maybe able to generate a package of those assets from Publish instance and install on Author.

 

Looking forward to hear from others if there is any efficient way. 

 

Thanks
Narendra

khamat_bn
Level 4
October 19, 2024

@harishred 

There is no straight way to do it, May be we can ask for this new feature @kautuk_sahni 
Temporary Solution for this -If you have time stamp then it will be a good start point. you need to check logs for this timeframe. THere is one sling job triggers for move operation com/adobe/cq/dam/assetmove you can get the path of the asset also. If you have any Listner for DAM then it will be too good, you can check logs for that also. 

Create a report for last that day and filter out the last modified date with that range also add criteria as last modified by workflow-process-service
You can check the async jobs that triggered.
 

harishredAuthor
Level 3
October 22, 2024

thank you @narendragandhi @khamat_bn .. we currently did this manually by looking at the modified date and reverting them.. i hope adbe can come up with something 

Adobe Champion
October 22, 2024

@harishred  You can also use the ACS Reports Query reports to run a query with dates to get all the paths of assets affected and then run a groovy script with these input paths in a text file to unpublish or move the assets using scripts with automation than manually.