Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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.