Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 07-29-2016 09:41 AM
I have one query. Is there any command to take backup off all table at a time or I have to take a backup of table one by one. If yes then please elaborate,
Thanks in advance for help.
Created 07-29-2016 06:15 PM
The best summary of the backup status and what is coming in HDP-2.5 is here:
https://hortonworks.com/blog/coming-hdp-2-5-incremental-backup-restore-apache-hbase-apache-phoenix/
Created 07-29-2016 09:54 AM
Hi @Ashnee Sharma, I don't think there is a simple command to backup all tables at a time. To backup the whole hbase cluster, you need to shutdown it first and use distcp tool to backup all hbase data on HDFS.
To backup single table, you could use Replication, CopyTable or Export. You can find the details here: http://hbase.apache.org/book.html#ops.backup
My suggestion is that you can write a small script to backup all the tables one by one in a live cluster.
Created 07-29-2016 09:55 AM
Ok thanks, I have single node cluster and I want to reformat the cluster thats why I am looking for sigle command which will help me to take a backup of all hbase table at a time.
Created 07-29-2016 10:47 AM
Created 07-29-2016 11:02 AM
Yes snapshot is one of the option.
Created 07-29-2016 10:54 AM
Created 07-29-2016 06:15 PM
The best summary of the backup status and what is coming in HDP-2.5 is here:
https://hortonworks.com/blog/coming-hdp-2-5-incremental-backup-restore-apache-hbase-apache-phoenix/