-
Notifications
You must be signed in to change notification settings - Fork 2
System administration
BurkeChih-JenKo edited this page Jul 23, 2014
·
9 revisions
#System administration (draft)#
##Backing up Cassandra##
Backing up Cassandra is essentially making a snapshot of occurrence store.
Cassandra comes with some command-line tools that we will use for this task:
- cassandra-cli
- nodetool
###Synopsis on Cassandra occurrence store### Where indexed occurrence data is stored:
$ cd /data/cassandra/data/occ
Connect to Cassandra and have a glimpse of stored records:
$ cassandra-cli
[default@unknown] use occ;
[default@occ] list occ limit 1;
It's also possible if you want to print a particular record:
[default@occ] get occ where uuid = 'e47e0e31-ff9c-4f31-b598-34f452cb023f';
(to provide directory description)
###Making a snapshot###
$ nodetool snapshot occ
$ cd cassandra/data/
$ ls -la
$ cd occ
$ ls -al
loc for sampling. environment
$ cd snapshots # backups are here
##Solr index##
$
###Pointing to a remote Cassandra instance### cassandraHost
Index
- Wiki home
- Community
- Getting Started
- Support
- Portals in production
- ALA modules
- Demonstration portal
- Data management in ALA Architecture
- DataHub
- Customization
- Internationalization (i18n)
- Administration system
- Contribution to main project
- Study case