Back up and Restore Active Directory Objects with BUS

From SWCP Support Wiki
Jump to navigationJump to search

Background

The basic idea is you use a script to export the Active Directory Users and Groups objects to a file, then back up that data file with BUS. On restore, you recover the export file, then use import it to Active Directory.

Active Directory Export

  1. Install the BUS client on the Active Directory server.
  2. Download the ADuserbackup.zip file from ftp://ftp.swcp.com/pub/bus/ADuserbackup.zip
  3. Extract and place the files within the ${BUS-Install-Home}\bin directory.
  4. Create an export directory, for example C:\BackupDir
  5. Open the BUS client, ceate a file backup set for the AD objects backup.
  6. Select the export directory C:\BackupDir as Backup Source.
  7. Accept the default encryption settings if no change is necessary.
  8. Select the newly created backup set in the "Backup Settings" menu, select "Command Line Tool"
  9. Press "Add" under the Pre-Backup section on the right panel, then enter the following entries in the corresponding text fields:
    • Working Directory: C:\Program Files\AhsayOBM\bin
    • Command: RunADExport.bat fout:C:\BackupDir\fExport.ldf
  10. Press "OK" to save this setting.
  11. media:ADExport2.png