The --delete option of the rsync command deletes extraneous files from the destination directory. It does not delete Solr snapshots. To do that you can use the snapcleaner on the master and/or slave.
Bill On Fri, Feb 13, 2009 at 10:15 AM, sunnyfr <johanna...@gmail.com> wrote: > > root 26834 16.2 0.0 19412 824 ? S 16:05 0:08 rsync -Wa > --delete rsync://##.##.##.##:18180/solr/snapshot.20090213160051/ > /data/solr/books/data/snapshot.20090213160051-wip > > Hi obviously it can't delete them because the adress is bad it shouldnt be > : > rsync://##.##.##.##:18180/solr/snapshot.20090213160051/ > but: > rsync://##.##.##.##:18180/solr/books/snapshot.20090213160051/ > > Where should I change this, I checked my script.conf on the slave server > but > it seems good. > > Because files can be very big and my server in few hours is getting full. > > So actually snapcleaner is not necessary on the master ? what about the > slave? > > Thanks a lot, > Sunny > -- > View this message in context: > http://www.nabble.com/delete-snapshot---tp21998333p21998333.html > Sent from the Solr - User mailing list archive at Nabble.com. > >