Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Martin_Valenta
Advisor

MDS - purge older revisions on each domain

 

Scripts simply iterates over each domain on MDS and purging older revisions, by default it's keeping only 10 revisions.

Requirements:

Python 3

MDS server

 

How to run:

python purge_revisions.py -m <management_ip> -u <user> -p <password>

 

Adjustments:

On line below you can change amount of how many revisions you want to keep, 

purge = client.api_call("purge-published-sessions", {'number-of-sessions-to-preserve': 10})

0 Kudos
0 Replies

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events