Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell NetWorker 19.9 Administration Guide

Configuring Open Directory database backups

The Mac OS directive does not back up Open Directory database files, which contain system configuration information that is essential for disaster recovery. To ensure complete protection of a Mac OS X computer if a catastrophic failure occurs, create a script file and then modify the client resource for the Mac OS X host to include the Open Directory database files.

Customizing backups with the pre and post commands provides more information about the script file and the how to modify the client resource to use the command.

  1. On the OS X host, create the script file as an executable text file.
    The name of the script file must start with nsr or save. For example nsr_opendir_backup.sh
  2. Add the commands to backup open files to the script file.
    NOTE:Open Directory database files remain available during the backup.
    • To back up LDAP directory domain for the Open Directory, type:

      #slapcat -l /var/backups/networker.ldif

    • To back up Password Server database for the Open Directory when the OS-X host uses LDAP over SSL, type:

      # mkdir -p /var/backups/networker.odpdb
      # mkpassdb -backupdb /var/backups/networker.odpdb

    • To back up the local NetInfo directory domain, type:

      # nidump -r / . > /var/backups/networker.nidump

    The following script file provides an example of how to back up the LDAP directory, Password Server, and NetInfo databases before each scheduled save:

    
    "/usr/sbin/slapcat -l /var/backups/networker.ldif; 
    /bin/mkdir -p /var/backups/networker.odpdb; 
    /usr/sbin/mkpassdb -backupdb /var/backups/networker.odpdb; 
    /usr/bin/nidump -r / . > /var/backups/networker.nidump" 
  3. Connect to the NetWorker server by using NMC.
  4. In the NetWorker Administration window, click Protection.
  5. In the expanded left panel, select Clients.
  6. Right-click the client resource and select Modify Client Properties.
    The Client Properties dialog box appears.
  7. On the Apps & Modules tab, in the Pre command attribute, specify the name of the script file that you require NetWorker to run before a backup.
    NOTE:Do not specify the path to the file.
  8. Click OK.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\