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]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Backup and Disaster recovery alternative options

avatar
Expert Contributor

Hi Experts,

 

We are planning to implement BDR in our project. As a back up and recovery solution I have proposed the BDR cloudera cluster where in the HDFS and Hive data will be backed up, But I want to know if there is an alternative way by backing up the data in the cold storage, Not sure if this approach can be the best as per cost perspective since we want the options available to reduce cost.

 

If any one share a use case and best solution for this.

 

Thanks.

1 ACCEPTED SOLUTION

avatar
Master Collaborator

@HanzalaShaikh You may consider DLM replication. This is explained here and here.

You set the hive.repl.rootdir to set the location where you you want to store the backup, and use the REPL DUMP command to dump your data and metadata:

e.g.

 

REPL DUMP db1 WITH('hive.repl.rootdir'='s3a://blah/');

 

Refer to the Cloudera documentation for for more details and examples. 

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

@HanzalaShaikh You may consider DLM replication. This is explained here and here.

You set the hive.repl.rootdir to set the location where you you want to store the backup, and use the REPL DUMP command to dump your data and metadata:

e.g.

 

REPL DUMP db1 WITH('hive.repl.rootdir'='s3a://blah/');

 

Refer to the Cloudera documentation for for more details and examples. 

avatar
Expert Contributor

Thanks for your quick reply @smruti , really appreciated.

 

I have gone through this approach and will surely consider it for DR strategy.