Command line backups use the storage policy and the data path specified in the CommCell Console SAP MaxDB database instance by default.
You can override the default parameters by specifying media parameters file when you use the CvOraSbtParams configuration parameter. This feature is supported for backup and restore database operations.
When you configure this option on a database, the application command line backups use the media parameter storage policy. You must associate the Data Path (MediaAgent, Library, Drive Pool) with the specified storage policy in the parameters file. For information on the supported parameters, see Supported SAP MaxDB Configuration File Parameters.
Procedure
-
Create a media parameters file with the required media parameters.
The parameter file format is:
[<Parameter Name-1>] <Value-1> < [<Parameter Name-2>] <Value-2>
Example
[sp] SAP_MAXDB [mediaagent] UNIXDB11 [library] LIB_MAXDB
-
Specify the CvOraSbtParams configuration parameter in the parameter file (param). You must provide the full path to the media parameters file.
UNIX Example
The parameter file is located under the<software_install_folder>/SapMaxDbAgent directory.
numstreams 1 CvInstanceName Instance001 CvClientName magnum_SN CvOraSbtParams /opt/media_file
Windows Example
The parameter file is located under the <software_install_folder>\SapMaxDbAgent directory.
numstreams 1 CvInstanceName Instance001 CvClientName magnum_SN CvOraSbtParams C:\media_file.txt