Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 36723 invoked from network); 24 Jun 2009 06:51:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jun 2009 06:51:37 -0000 Received: (qmail 63265 invoked by uid 500); 24 Jun 2009 06:51:47 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 63180 invoked by uid 500); 24 Jun 2009 06:51:47 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 63170 invoked by uid 99); 24 Jun 2009 06:51:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 06:51:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hhsuper@gmail.com designates 209.85.216.185 as permitted sender) Received: from [209.85.216.185] (HELO mail-px0-f185.google.com) (209.85.216.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 06:51:36 +0000 Received: by pxi15 with SMTP id 15so493141pxi.13 for ; Tue, 23 Jun 2009 23:51:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=cCspYZ5kc5ZFWsqOq+zC/wi0AB68OE1joR941d2rzU8=; b=KWqwkfwmIZvq9DQRdOr9HJnhFDQxdsw0KP4Is8Qnjk9RcCP+/c7aOJus2ihKekylIs fuokPsAmRkcQJ5UlbobjDrnUYeP5oZMvrfAX6ij4M/zonulGtBhjw2O4MEAYF2nwEqLg UkhWXMdyaCaiBuQSz8xrwfRBjnQz21clGEcd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=oGqWvUkbHFEf3y8PYXhhIPyqchJDi8yvglmjkz94CQmODNx/ogUKWjn4mI7yzcpj7f KSaqbGaFsr+qvvUqqfPl4lgswC3oIw31adt2Xr8dJsFoPw+O7poS5VMJJksY2LpP3Vx+ 1NNvlQ1PIlwqOZjbDte9Yi3jQaFcjRtcewRf8= MIME-Version: 1.0 Received: by 10.115.48.12 with SMTP id a12mr1556402wak.20.1245826276179; Tue, 23 Jun 2009 23:51:16 -0700 (PDT) In-Reply-To: References: <7AC0D97469D66A468B50FA88A9AC4F174DD64A@genesis_mail.vitalhuber.local> <69a992ac0906231810w6e7f76b7l677c503ab11a62d6@mail.gmail.com> From: hhsuper Date: Wed, 24 Jun 2009 14:50:56 +0800 Message-ID: <69a992ac0906232350v660a49e6kf384fedb6bfdc2e4@mail.gmail.com> Subject: Re: Restoring CouchDB To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016e64beb54a4c063046d12889f X-Virus-Checked: Checked by ClamAV on apache.org --0016e64beb54a4c063046d12889f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I can access remote couchdb in browser which need input the ldap user/pwd but when replicate there is no chance to input that(futon not support) when i use local couchdb's futon replicate the remote db to my local, i input the remote db address http://remote.domain/sourcedb and then select the local couchdb, when click the replicate button, the error pop out: Replication failed: {error, {{bad_return_value, {invalid_json, <<"\n\n401 Authorization Required\n\n

Authorization Required

\n

This server could not verify that you\nare authorized to access the document\nrequested. Either you supplied the wrong\ncredentials (e.g., bad password), or your\nbrowser doesn't understand how to supply\nthe credentials required.

\n
\n
Apache/2.2.11 (Ubuntu) DAV/2 SVN/1.5.4 PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch mod_ssl/2.2.11 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 Server at couchdb.babelcentral.com Port 80
\n\n">>}}, {child,undefined,"7c2ce9689bfdbceab88aeea97d4c8bc0", {gen_server,start_link, [couch_rep, ["7c2ce9689bfdbceab88aeea97d4c8bc0", {remote, <<"http://couchdb.babelcentral.com/prod_recresult/ ">>,[]}, {local,<<"prod_recresult">>,{user_ctx,null,[<<"_admin">>]}}], []]}, transient,1,worker, [couch_rep]}}} obvoiusly the remote couchdb need ldap authentication, any suggestion? On Wed, Jun 24, 2009 at 2:39 PM, Chris Anderson wrote: > On Tue, Jun 23, 2009 at 6:10 PM, hhsuper wrote: > > I have the same question, my remote server have ladp authentication, i > can > > operate it with browser(use ldap user/pwd to login) , > > so the replicate doesn't work, is there any other ways to restore the > remote > > couchdb database to my local > > > > If you can access CouchDB with a browser you can replicate from it > using a CouchDB on your local machine. > > However, if you meant you *can't* access it with a browser, then there > are other options. The simplest is probably to copy the database file > (.couch) to your local machine using rsync or some other remote copy > utility. This requires that you be running the same CouchDB version on > both machines. > > > Thx > > > > On Tue, Jun 23, 2009 at 8:01 PM, Ajay Pawaskar < > APawaskar@genesisinfo.com>wrote: > > > >> Hi, > >> > >> i want to restore the CouchDB Documents & Views from One server to > >> another (on clients server) > >> there is option for replication (remote server)..but i don't have access > >> to that server...(so i can't Replicate DB on that server using > >> Replicator) > >> ..but i need to deploy the Db on that server > >> .. also in future maybe i will be needing the documents from client > >> server for debugging purpose > >> how i can do this? > >> > >> > >> > >> Thx & Regards > >> > >> Ajay J. Pawaskar > >> > >> > > > > > > -- > > Yours sincerely > > > > Jack Su > > > > > > -- > Chris Anderson > http://jchrisa.net > http://couch.io > -- Yours sincerely Jack Su --0016e64beb54a4c063046d12889f--