Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 167041032E for ; Fri, 6 Dec 2013 15:34:21 +0000 (UTC) Received: (qmail 12827 invoked by uid 500); 6 Dec 2013 15:34:17 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 12813 invoked by uid 500); 6 Dec 2013 15:34:17 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 12805 invoked by uid 99); 6 Dec 2013 15:34:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 15:34:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vicky.kak@gmail.com designates 209.85.128.173 as permitted sender) Received: from [209.85.128.173] (HELO mail-ve0-f173.google.com) (209.85.128.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 15:34:12 +0000 Received: by mail-ve0-f173.google.com with SMTP id oz11so930913veb.18 for ; Fri, 06 Dec 2013 07:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uBwx3nOQ97wvM8z2DylGdrpXiBg7rWyQQSHkAoUyrTk=; b=KUUsUfbkSHl0AjGt3NuDo3sxX6q+b1uMZqtSIFYqAHGE9bNLZ+sI0mn9sJrD6p7z/4 J9eufVOsnuzmnE+jQ4TjB822JWk5DsNr7AeLooHhA2dIyDHPXXhY81HfCQj8yyNboZ4O rnow56R+MXWszDm9Qn/OPopw7ZagjXFeY5mnmk1CfhyISDSyKusmGnZsYYqhH7gwD8pq SLxgx0+43A5Eh8Jo36KZvCtDYNaoakcuij0ibYz0UgqnW2q2Des82Ei5iwkXFDU+8WNl Utog1GVEajfdsSyT8jOg//et9UhtQVHYZXPBI4TZ1zOlQif5zuWGDHziNu4qaaq6ehDQ smjA== MIME-Version: 1.0 X-Received: by 10.58.96.15 with SMTP id do15mr1571246veb.56.1386344031344; Fri, 06 Dec 2013 07:33:51 -0800 (PST) Received: by 10.220.119.204 with HTTP; Fri, 6 Dec 2013 07:33:51 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Dec 2013 21:03:51 +0530 Message-ID: Subject: Re: Try to configure commitlog_archiving.properties From: Vicky Kak To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=089e0122f5d4868a1004ecdf5f34 X-Virus-Checked: Checked by ClamAV on apache.org --089e0122f5d4868a1004ecdf5f34 Content-Type: text/plain; charset=ISO-8859-1 >>Why, can you give me a good example and the good way to configure archive >>commit logs ? Take a look at the cassandra code ;) On Fri, Dec 6, 2013 at 3:34 PM, Bonnet Jonathan < jonathan.bonnet@externe.bnpparibas.com> wrote: > Hello, > > I try to configure commitlog_archiving.properties to take advantage of > backup and restore at a point of time, but there is no ressources on > internet for that. So i need some help. > > If I understand I have 4 parameters: > > archive_command= > > restore_command= > > restore_directories= > > restore_point_in_time= > > Forget for the moment the restore_point_in_time, should i put one command > only for the archive_command; my wish is to copy all the commitlogs on > another directory: > > restore_directories=/produits/cassandra/cassandra_data/archived_logs > > archive_command=/bin/cp - > f /produits/cassandra/cassandra_commit/*.log /produits/cassandra/cassandra_ > data/archived_logs > > restore_command=/bin/cp - > f /produits/cassandra/cassandra_data/archived_logs/*.log /produits/cassandr > a/cassandra_commit > > But it doesn't work when i restart the node which interest me, it doesn't > copy anything. > > Why, can you give me a good example and the good way to configure archive > commit logs ? there's nothing on the net except Datastax Website. > > Thanks for your answear. > > Regards, > > Bonnet Jonathan. > > --089e0122f5d4868a1004ecdf5f34 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
>>Why, can you give me a good example and the g= ood way to configure archive
>>commit logs ?

Take a look at the cassandra code ;)
=


On Fri,= Dec 6, 2013 at 3:34 PM, Bonnet Jonathan <jonathan.bo= nnet@externe.bnpparibas.com> wrote:
Hello,

=A0 I try to configure commitlog_archiving.properties to take advantage of<= br> backup and restore at a point of time, but there is no ressources on
internet for that. So i need some help.

=A0 If I understand I have 4 parameters:

archive_command=3D

restore_command=3D

restore_directories=3D

restore_point_in_time=3D

=A0 Forget for the moment the restore_point_in_time, should i put one comma= nd
only for the archive_command; my wish is to copy all the commitlogs on
another directory:

restore_directories=3D/produits/cassandra/cassandra_data/archived_logs

archive_command=3D/bin/cp -
f /produits/cassandra/cassandra_commit/*.log /produits/cassandra/cassandra_=
data/archived_logs

restore_command=3D/bin/cp -
f /produits/cassandra/cassandra_data/archived_logs/*.log /produits/cassandr=
a/cassandra_commit

But it doesn't work when i restart the node which interest me, it doesn= 't
copy anything.

Why, can you give me a good example and the good way to configure archive commit logs ? there's nothing on the net except Datastax Website.

Thanks for your answear.

Regards,

Bonnet Jonathan.


--089e0122f5d4868a1004ecdf5f34--