Re: Try to configure commitlog_archiving.properties

2013-12-16 Thread Bonnet Jonathan .
Artur Kronenberg openmarket.com> writes: > > It's been a while since I tried that but here are some things I can > think of: > > * the .log.out seems wrong. Unless your cassandra commitlogs don't end > in .log.out. I tried this locally with your script and my commitlogs get > extracted to .l

Re: Try to configure commitlog_archiving.properties

2013-12-13 Thread Artur Kronenberg
It's been a while since I tried that but here are some things I can think of: * the .log.out seems wrong. Unless your cassandra commitlogs don't end in .log.out. I tried this locally with your script and my commitlogs get extracted to .log files for me. * I never tried the restore procedure on

Re: Try to configure commitlog_archiving.properties

2013-12-13 Thread Bonnet Jonathan .
Artur Kronenberg openmarket.com> writes: > > So, looking at the code: > > public void maybeRestoreArchive() > { > if (Strings.isNullOrEmpty(restoreDirectories)) > return; > > for (String dir : restoreDirectories.split(",")) > { > F

Re: Try to configure commitlog_archiving.properties

2013-12-13 Thread Bonnet Jonathan .
Bonnet Jonathan. externe.bnpparibas.com> writes: > > Thanks Artur, > > You're right i must comment restore directory too. > > Now i'll try to practice around restore. > > Regards, > > Bonnet Jonathan. > > Hello, As i told you i began to explore restore operations, see my config for ar

Re: Try to configure commitlog_archiving.properties

2013-12-13 Thread Bonnet Jonathan .
Hello, As i told you i began to explore restore operations, see my config for archive commit logs: archive_command=/bin/bash /produits/cassandra/scripts/cassandra-archive.sh %path %name restore_command=/bin/bash /produits/cassandra/scripts/cassandra-restore.sh %from %to restore_directories=/p

Re: Try to configure commitlog_archiving.properties

2013-12-11 Thread Bonnet Jonathan .
Thanks Artur, You're right i must comment restore directory too. Now i'll try to practice around restore. Regards, Bonnet Jonathan.

Re: Try to configure commitlog_archiving.properties

2013-12-11 Thread Artur Kronenberg
So, looking at the code: public void maybeRestoreArchive() { if (Strings.isNullOrEmpty(restoreDirectories)) return; for (String dir : restoreDirectories.split(",")) { File[] files = new File(dir).listFiles(); if (files == null)

Re: Try to configure commitlog_archiving.properties

2013-12-11 Thread Bonnet Jonathan .
Artur Kronenberg openmarket.com> writes: > > > hi Bonnet, > that doesn't seem to be a problem with your archiving, rather with > the restoring. What is your restore command? > -- artur > On 11/12/13 13:47, Bonnet Jonathan. wrote: > > > Thanks to answear

Re: Try to configure commitlog_archiving.properties

2013-12-11 Thread Artur Kronenberg
hi Bonnet, that doesn't seem to be a problem with your archiving, rather with the restoring. What is your restore command? -- artur On 11/12/13 13:47, Bonnet Jonathan. wrote: Bonnet Jonathan externe.bnpparibas.com> writes: > >Thanks a lot, > >It Works, i see commit log bein archived.

Re: Try to configure commitlog_archiving.properties

2013-12-11 Thread Bonnet Jonathan .
Bonnet Jonathan externe.bnpparibas.com> writes: > > Thanks a lot, > >It Works, i see commit log bein archived. I'll try tomorrow the restore > command. Thanks again. > > Bonnet Jonathan. > > Hello, I have restart a node today, and i have an error which seems to be in relation with c

Re: Try to configure commitlog_archiving.properties

2013-12-10 Thread Robert Coli
On Tue, Dec 10, 2013 at 1:45 AM, Bonnet Jonathan < jonathan.bon...@externe.bnpparibas.com> wrote: > Taking a look to the code ? i'm not a develloper but a DBA, where should i > look ? Thank you. > In all seriousness, if you plan to operate Cassandra, get used to the idea of reading Java source co

Re: Try to configure commitlog_archiving.properties

2013-12-10 Thread Bonnet Jonathan
Thanks a lot, It Works, i see commit log bein archived. I'll try tomorrow the restore command. Thanks again. Bonnet Jonathan.

Re: Try to configure commitlog_archiving.properties

2013-12-10 Thread Artur Kronenberg
way to configure archive >>commit logs ? Take a look at the cassandra code ;) On Fri, Dec 6, 2013 at 3:34 PM, Bonnet Jonathan <mailto:jonathan.bon...@externe.bnpparibas.com>> wrote: Hello, I try to configure commitlog_archiving.properties to take advantage of

Re: Try to configure commitlog_archiving.properties

2013-12-10 Thread Bonnet Jonathan
Vicky Kak gmail.com> writes: > > > > >>Why, can you give me a good example and the good way to configure archive > >>commit logs ? > Take a look at the cassandra code ;) > > Taking a look to the code ? i'm not a develloper but a DBA, where should i look ? Thank you. Regards, Bonnet Jona

Re: Try to configure commitlog_archiving.properties

2013-12-06 Thread Vicky Kak
>>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.bon...@externe.bnpparibas.com> wrote: > Hello, > > I try to configure commit

Try to configure commitlog_archiving.properties

2013-12-06 Thread Bonnet Jonathan
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