The nbdb_unload command unloads the specified database. By default the NBDB database is unloaded. The other value for -dbn includes, BMRDB for the Bare Metal Restore database.
Note: |
The Enterprise Media Manager (EMM) Database is considered a component of the NBDB database. In the future other components will be added to the NBDB such as IRM and POLICY. |
This command creates .dat files, one for each table in the database or in the table list. Each .dat file contains comma-separated lines, one for each row in the table. A reload.sql file is also generated. This file contains the SQL statements that are required to reload the database. For example:
LOAD TABLE "BmrDba.BMR_Configuration" FROM
Windows systems: c:\temp\data\345.dat
To transfer the destination directory contents to a support machine and use it to create a copy of the customer's database, run the reload.sql file.
To unload the NBDB database (including all of EMM), data and schema:
Windows systems: # nbdb_unload C:\temp\nbdb_dump
To unload only the NBDB schema:
Windows systems: # nbdb_unload -s C:\temp\nbdb_dump
To unload only the EMM_STU table (by using fully qualified table names):
Windows systems: # nbdb_unload -t EMM_MAIN.EMM_STU C:\temp\stu
Windows systems: # nbdb_unload -dbn BMRDB C:\temp\bmr_dump