semiotproject / semiot-platform

SemIoT Platform
http://semiot.ru
MIT License
8 stars 1 forks source link

Check the backup options into HBase #97

Closed garayzuev closed 9 years ago

garayzuev commented 9 years ago

This issue is referenced with #100

garayzuev commented 9 years ago

If you want to make a backup you can run command docker exec ${container with hbase name} sh backup.sh. Command executes a org.apache.hadoop.hbase.mapreduce.Export method for all tables of OpenTSDB and saves data in directory with name as current timestamp. If you want to rescue from backup you can run command docker exec ${container with hbase name} sh restore.sh ${restored_timestamp}. Command executes a org.apache.hadoop.hbase.mapreduce.Import method for all tables of OpenTSDB.