How to delete a snapshot using scm command line - version 4.0.3
Hi,
First of all, current RTC server version (and then cli) is 4.0.3.
On some build workspaces, we now have several thousands of snapshots and we want to script something in order to remove old and useless snapshots.
We detected than, even specifying --max to big value such as 10000, the server is returning 2048 items max starting from the first one we created -> this means we don't have access to last one, which is a big issue for us.
Using scm command line help, I cannot see any way to delete a snapshot, is it a defect or is it a known limitation ?
Do you have any hidden way to perform such cleanup ?
Thanks in advance for your help
Regards
Gael
First of all, current RTC server version (and then cli) is 4.0.3.
On some build workspaces, we now have several thousands of snapshots and we want to script something in order to remove old and useless snapshots.
We detected than, even specifying --max to big value such as 10000, the server is returning 2048 items max starting from the first one we created -> this means we don't have access to last one, which is a big issue for us.
Using scm command line help, I cannot see any way to delete a snapshot, is it a defect or is it a known limitation ?
Do you have any hidden way to perform such cleanup ?
Thanks in advance for your help
Regards
Gael
2 answers
To my knowledge, snapshots can not be deleted (by design).
Comments
Snapshot deletion in the CLI was added in RTC 4.0.4. For your version, you can use the Eclipse client to delete snapshots.