You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2006/11/30 00:52:44 UTC
[Solr Wiki] Update of "CollectionDistribution" by JoseQ
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by JoseQ:
http://wiki.apache.org/solr/CollectionDistribution
The comment on the change is:
-d specifies directory, I think the author meant -D, the number of snapshots
------------------------------------------------------------------------------
For example, the following cron job runs everyday at midnight and cleans up snapshots 8 days and older:
{{{
- 0 0 * * * <solr.solr.home>/solr/bin/snapcleaner -d 7
+ 0 0 * * * <solr.solr.home>/solr/bin/snapcleaner -D 7
}}}
Additional cleanup can always be performed on-demand by running '''snapcleaner''' manually.