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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Aem6.4 version purge

Avatar

Level 4

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.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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?

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

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?