Archive the database in an ADBZ file
Alfabet databases can be archived in Alfabet database archive files (ADBZ) that are a proprietary file format. This archiving must not be used for normal regular database backup processes but rather, for example, to archive a database and send it to Software GmbH Support.
To archive the database in an ADBZ file, use the following command line for the AlfaAdministratorConsole.exe:
- AlfaAdministratorConsole.exe -msalias <alias name> -DbUser <username> -DbPassword <password> -db_archive -IncludeUserSettings <false|true> -IncludeAudit <false|true> -IncludeInternalDocs <false|true> -OutputFile <file name and location>
The table below displays the command line options:
Command Line Option | Mandatory/ Default | Explanation |
---|---|---|
-db_archive | Mandatory | The command line must include the following command to archive the database to an ADBZ file:
|
-msalias <alias name> | Mandatory | Enter the server alias name as specified in the AlfabetMS.xml configuration file for access to the database. |
-msaliasesfile <Alfabet configuration file path> | Optional | If the AlfabetMS.xml configuration file that contains the specification of the alias is not located in the same directory as the executable, the path to the AlfabetMS.xml file must be specified with this parameter. |
-DbUser <database user name> | Mandatory | Database user name for access to the Alfabet database on the database server.
If the access mode to the Alfabet database is Windows Authentication, the command line option -DbUser must be defined without a value for the user name and -DbPassword is not required. |
-DbPassword <database user password> | Optional | Database user password for access to the Alfabet database on the database server. |
-OutputFile <file name and location> | Mandatory | Specify the path to and name of the ADBZ file to be created. The file must have the extension .adbz. |
-IncludeUserSettings <false|true> | Optional | To include the current user settings in the database in the ADBZ file, set this parameter to true. |
-IncludeAudit <false|true> | Optional | To include the audit history tables in the database in the ADBZ file, set this parameter to true. |
-SqueezeAudit <false|true> | Optional | If set to true, the history tables in the database in the ADBZ file will be are scanned for obsolete entries. Any entries that were generated during, for example, the batch update of data via batch utilities without documenting any audit relevant changes are deleted from the audit tables stored in the ADBZ file. |
-IncludeInternalDocs <false|true> | Optional | To include the documents in the Internal Document Selector of the database in the ADBZ file, set this parameter to true. |