Compressing Diagnosis and Database Files
Use
To be able to comprehensively diagnose a database problem, Support require a significant number of database instance files.
Using this command, you can collect all of the required files in a compressed archive file.
Default values of the Database Manager CLI for the archive file:
File Name |
diagpack.tgz |
Directory |
Run directory of the database instance |
<file_id> |
DIAGTGZ |
You can define the file name and path yourself using the parameter
file=<archive>.You can specify which classes of files should be included in the package using the parameter <
class=class_spec>. If you specify multiple classes, separate them using commas.If you specify the class
hist, you must additionally specify the time stamp of the diagnosis backup for the parameter <time_stamp>.When opening the file, note that it is stored in binary format (
Prerequisites
You have the DBM operator authorization
DBFileRead.Syntax
diag_pack [file=<archive>] [class=<class_spec> | <class_spec>,...] [date=<time_stamp>]
<archive> |
Name and path of the archive file to be created |
<class_spec> |
Class of files that is to be included in the package The default value of the Database Manager CLI is the class protocolSeparate multiple class specifications by commas. |
<time_stamp> |
Additional parameter when specifying the class hist,Time stamp of the diagnosis backup Determine this by requesting the diagnosis history |
Options for <class_spec>
Class |
Description |
protocol |
General log files |
backup |
Log files from backups and restores |
config |
Configuration files |
lvc |
Additional log files for a database of instance liveCache |
For more information about the contents of database files, see:
Database Files