SMB data required for protocols cluster DR

Data required for the SMB protocol in case of a disaster recovery scenario is as follows.

You can determine the SMB shares using the mmsmb export list command.

The SMB protocol related files that need to be backed up are as follows.

  • account_policy.tdb
  • autorid.tdb1
  • group_mapping.tdb
  • passdb.tdb
  • registry.tdb
  • secrets.tdb
  • share_info.tdb
  • ctdb.tdb
Note: 1 This file is required only if the file authentication is configured with Active Directory.

The following information is common for all of these files:

  • The type of these files is persistent TDB.
  • They are not in the cluster configuration repository (CCR).
  • Their location is /var/lib/ctdb/persistent on all protocol nodes.
  • Their contents are same on all the nodes.
  • Their name consists of TDB name + node specific extension. For example: registry.tdb.0

The private Kerberos configuration files available at the following location also need to be backed up: /var/lib/samba/smb_krb5/. You can copy these files from this location and save them.