Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45A3ADC2C for ; Wed, 28 Nov 2012 15:19:38 +0000 (UTC) Received: (qmail 10092 invoked by uid 500); 28 Nov 2012 15:19:34 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 9828 invoked by uid 500); 28 Nov 2012 15:19:34 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 9807 invoked by uid 99); 28 Nov 2012 15:19:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 15:19:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.212.48] (HELO mail-vb0-f48.google.com) (209.85.212.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 15:19:26 +0000 Received: by mail-vb0-f48.google.com with SMTP id l22so14074908vbn.35 for ; Wed, 28 Nov 2012 07:19:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=tceeKP58MvXMQ6QkN/uxgP459mGvx41mElCU6IF/49U=; b=Rq5mjbsJ6C8vTPBB2++JM+4C0qAjV8EGgbDnyfelWqoKbG+378q6WW1AYbINb3GkWJ L6/BQP0Cxtti60i6CUvq/R6LGdCn3aE+XjDZ/EESToXzh1RXyireQKnPyHx8bRfgT4nV HYbNuNO7q01UWyiZnW8Mb4E34TA4b2JVbE0bCS+aVxHzYdt1tNeH6AetcsIJd2CNcIfp giYTlnlN2UG+h31Yl7QiK74pCaX29DaUJfH6nmjUk40htknsQ6KxcChPFZ/vErYmqKVo iMvJj/jpyghPU+ntd5+mzK0KMu1QBWygnErwq9qdBc4n7o9eKHKt50NDIU1XN+PSYasB w3VQ== MIME-Version: 1.0 Received: by 10.220.16.4 with SMTP id m4mr28458752vca.43.1354115943614; Wed, 28 Nov 2012 07:19:03 -0800 (PST) Received: by 10.58.56.33 with HTTP; Wed, 28 Nov 2012 07:19:03 -0800 (PST) X-Originating-IP: [193.189.67.202] In-Reply-To: References: Date: Wed, 28 Nov 2012 15:19:03 +0000 Message-ID: Subject: Re: Replication Backup From: Eva Lacy To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=bcaec54ee728cdc8d504cf8fafe1 X-Gm-Message-State: ALoCoQnXd9uZyLSdmSd+b9Uwc7S7nBDx9BturiEaURWIiTdygilnKLI126iO6oNU5C0oaFGhAO07 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54ee728cdc8d504cf8fafe1 Content-Type: text/plain; charset=ISO-8859-1 There doesn't seem to be a lock file created by the snapshooter, it news up a lock file but it never obtains the lock. So there is no indication of when it is finished backing up the files. On Sun, Nov 25, 2012 at 5:32 AM, Otis Gospodnetic < otis.gospodnetic@gmail.com> wrote: > Hi Eva, > > You just need a script that: > * calls master with http://....replication?command=backup > * copies the backup off of master and stores it somewhere > * removes that backup from the master if you don't have enough disk for it > there > > Otis > -- > SOLR Performance Monitoring - http://sematext.com/spm/index.html > Search Analytics - http://sematext.com/search-analytics/index.html > > > > > On Wed, Nov 21, 2012 at 5:40 AM, Eva Lacy wrote: > > > Hi Otis, > > > > It seems to me that I'm going to have to write a script anyway that takes > > handles the retention of the backups. > > Plus it doesn't seem optimal that I would run a solr instance on that > > server, taking up memory when I could probably > > write a script that would pull all the data directly using the > replication > > handler. > > My current thinking is that I could imitate a slave and pull the index > > directly from the master by calling the replication > > handler with http requests. > > Does this seem reasonable? > > > > Eva > > > > > > On Wed, Nov 21, 2012 at 3:29 AM, Otis Gospodnetic < > > otis.gospodnetic@gmail.com> wrote: > > > > > Hi Eva, > > > > > > I think you just need to configure the Solr instance on your Windows > and > > > point it to your Solr master. It will then copy the index from the > > master > > > periodically. > > > Please see http://search-lucene.com/?q=solr+replication+backup for > some > > > more info about doing backups - you don't need rsync. Once you set up > > > Windows as described above, you can call the Solr replication handler > on > > it > > > and tell it to make an index shapshot, which is basically a copy of the > > > index at that point in time. > > > > > > Otis > > > -- > > > Performance Monitoring - http://sematext.com/spm/index.html > > > Search Analytics - http://sematext.com/search-analytics/index.html > > > > > > > > > > > > > > > On Tue, Nov 20, 2012 at 12:31 PM, Eva Lacy wrote: > > > > > > > Hi All, > > > > > > > > It takes a long time to reindex our database and so I'd like to be > able > > > to > > > > backup the solr server. > > > > I'm running solr 3.6.1 using tomcat on debian squeeze and I'd like to > > be > > > > able to backup to a > > > > windows server that contains the rest of our backups. > > > > > > > > There isn't much free space on the solr server. Enough for maybe 3 > > > backups. > > > > Ideally I would like to be able to backup the index by pulling it > > similar > > > > to how a solr slave does > > > > but from the windows server. I heard that it uses something like > rsync > > to > > > > do that. > > > > That way I could create a backup solution that backs up daily for 3 > > days, > > > > then holds onto one of those every 10 days > > > > or something similar. > > > > > > > > Any ideas on this would be appreciated. > > > > > > > > Eva > > > > > > > > > > --bcaec54ee728cdc8d504cf8fafe1--