incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vicky Kak <vicky....@gmail.com>
Subject Re: Try to configure commitlog_archiving.properties
Date Fri, 06 Dec 2013 15:33:51 GMT
>>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.
>
>

Mime
View raw message