Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

What to backup? and how? (only metadata, not data)

avatar

What components and folders to backup (only metadata, not data)? What would be the commands?

- Namenode - Ambari database - Hive Metastore database - Oozie database - Hue database - Ranger database

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Guilherme Braccialli

Backup metadata Link (dfs.namenode.name.dir - Backup this location)

Backup data too (Falcon for DR, Snapshots)

HCatalog

Ambari DB

Oozie DB

Ranger DB

Hue DB

/etc/*

/usr/hdp/* ( Its good to backup binaries on weekly or month basis)

backup logs for compliance purpose /var/log/*

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@Guilherme Braccialli

Backup metadata Link (dfs.namenode.name.dir - Backup this location)

Backup data too (Falcon for DR, Snapshots)

HCatalog

Ambari DB

Oozie DB

Ranger DB

Hue DB

/etc/*

/usr/hdp/* ( Its good to backup binaries on weekly or month basis)

backup logs for compliance purpose /var/log/*

avatar
New Member

@Guilherme Braccialli / Neeraj Sabharwal

What is the best way to backup the Ranger database 0.5.0(for the purpose of disaster recovery). I see that the REST API is available. Can you please share your experience if you have implemented this in your organization? Thank you.