WebPagetest Forums
what is the right way to delete tests? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: what is the right way to delete tests? (/showthread.php?tid=742)



what is the right way to delete tests? - jbouressa@homeaway.com - 05-13-2011 09:30 AM

Is there a command that lets you remove completed tests? Via REST, perhaps?

I'd like to be able to archive off older tests to maintain disk space.

Thanks,
James.


RE: what is the right way to delete tests? - pmeenan - 05-13-2011 09:38 AM

We're working on a pluggable system (it's in the /storage directory in SVN) that currently supports S3 and Google Storage but the plan is to also have a way to archive locally.

In the meantime, the tests are all completely self-contained and they are arranged on disk by date in the results directory (YY/MM/DD/...). You could just tar/zip whatever you want to archive off and if you ever need it later you can always restore it. You can also archive and then delete all of the screen shots (and perhaps some of the other files) which would let you keep the actual test data which uses less space.