Aem6.4 version purge | Community
Skip to main content
Level 4
January 9, 2020
Solved

Aem6.4 version purge

  • January 9, 2020
  • 2 replies
  • 2491 views

Hi,

We are using the version purge ,but this doe snot delete the older versions and they are still there.

 

The below command is used for the version purge.

curl --silent -u username:password -f -o  purgetextpath 

-d "cmd=purge&maxdays=1&maxversions=1&path=/content/appname&recursive=true" 

"http://localhost:4502/etc/versioning/purge.html"

request you to please suggest if any changes are required on the above command.

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 user05162

Before actually running this, Can you go to "http://localhost:4502/etc/versioning/purge.html" and click on "Dry Run"

 

Here you can see all the versions that will be purged. Do you see a discrepancy in the dry run? Does it not remove all the versions?

2 replies

user05162Adobe EmployeeAccepted solution
Adobe Employee
January 9, 2020

Before actually running this, Can you go to "http://localhost:4502/etc/versioning/purge.html" and click on "Dry Run"

 

Here you can see all the versions that will be purged. Do you see a discrepancy in the dry run? Does it not remove all the versions?