Entering content frame

 Packing Database Files 

Use

To be able to comprehensively diagnose a database problem, Support requires a significant number of database instance files.

Use this command to collect all of the required database files in a compressed archive file.

Default values of the Database Manager for the archive file:

File name

diagpack.tgz

Directory

Run directory for the database instance

<file_id>

DIAGTGZ

When opening the file, note that it is stored in binary format (Opening a Database File).

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 that you want to create

<class_spec>

Class of files that you want to include in the package

The default value of the Database Manager is the class protocol

Separate multiple classes with commas.

<time_stamp>

Time stamp of the diagnosis backup

Additional parameter when class hist specified

Determine this by Displaying 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 type liveCache

 

 

Leaving content frame