Thanks guys! On Fri, Apr 26, 2019 at 1:17 PM Alain RODRIGUEZ <arodr...@gmail.com> wrote:
> Hello Ivan, > > Is there a way I can do one command to backup and one to restore a backup? > > > > Handling backups and restore automatically is not an easy task to work on. > It's not straight forward. But it's doable and some did some tools (with > both open source and commercial licences) do this process (or part of it) > for you. > > I wrote a post last year, aiming at presenting existing 'ways' to do > backups, I then evaluated and compared them. Even if it's getting old, you > might find it interesting: > http://thelastpickle.com/blog/2018/04/03/cassandra-backup-and-restore-aws-ebs.html > > Or the only way is to create snapshots of all the tables and then restore >> one by one? > > > You can also 'just' copy data over (process described in the post above) > but using snapshots reduces the chances of inconsistencies, especially when > ran at the same time on all nodes. > Also for restore, nothing obliges you to act node by node. When using > restore, it often means the service is off. Restoring all nodes at once is > possible and a good thing to do imho. > > Hope that helps! > > C*heers, > ----------------------- > Alain Rodriguez - al...@thelastpickle.com > France / Spain > > The Last Pickle - Apache Cassandra Consulting > http://www.thelastpickle.com > > Le ven. 26 avr. 2019 à 05:49, Naman Gupta <naman.gu...@girnarsoft.com> a > écrit : > >> You should take a look into ssTableLoader cassandra utility, >> >> https://docs.datastax.com/en/cassandra/3.0/cassandra/tools/toolsBulkloader.html >> >> On Fri, Apr 26, 2019 at 1:33 AM Ivan Junckes Filho <ivanjunc...@gmail.com> >> wrote: >> >>> Hi guys, >>> >>> I am trying do a bakup and restore script in a simple way. Is there a >>> way I can do one command to backup and one to restore a backup? >>> >>> Or the only way is to create snapshots of all the tables and then >>> restore one by one? >>> >>