migbkup

Use the migbkup command to a backup of the schema files, configuration files, key stash files, and key database files of a directory server instance.

Description

You can run the migbkup command to back up the schema files, configuration files, key stash files, and key database files of a directory server instance. This command does not back up the data in the directory database. The following files are backed up by the migbkup command from the instance_home/etc directory:

  • ibmslapd.conf
  • V3.ibm.at
  • V3.ibm.oc
  • V3.system.at
  • V3.system.oc
  • V3.user.at
  • V3.user.oc
  • V3.modifiedschema
  • V3.config.at
  • V3.config.oc
  • V3.ldapsyntaxes
  • V3.matchingrules
  • ibmslapdcfg.ksf
  • ibmslapddir.ksf
  • ibmdiradmService.cmd (On Windows™ only)
  • ibmslapdService.cmd (On Windows only)
The migbkup command creates the following file.
  • db2info

Synopsis

migbkup instance_home backup_directory | -?

Options

The migbkup command takes the following parameters.
instance_home
Specifies the home directory of the directory server instance. For example, user_home_dir/idsslapd-instance_name. This parameter is required.
backup_directory
Specifies the directory where the files must be copied. This parameter is required.
-?
Specifies to show the syntax help.

Examples

Example 1:
On a Linux™ system, run the migbkup command to take a backup of files:
migbkup /home/idsinst/idsslapd-idsinst/ /home/sdsbkup