You must shutdown the cluster and take the backup of OM and SCM metadata.
On each OM, copy the directories indicated by the
ozone.om.db.dirs and
ozone.om.ratis.storage.dir config keys to the backup
location by running the command cp -r <config_directory>
<backup_directory>.
On each SCM, copy the directories indicated by the
ozone.scm.db.dirs and
ozone.scm.ha.ratis.storage.dir config keys to the
backup location by running the command cp -r <config_directory>
<backup_directory>.