Bedrock.Server.DataDir.Backup

This Bedrock TM1 TI will perform a backup of the TM1 data directory.

Parameters

Parameter

Data Type

Default

Explanation

pDataDir

String


The TM1 data directory that is to be copied.

pBackupDir

String


The directory where the copy will be stored.

pDebug

Numeric

0

The debug mode.


Example

ExecuteProcess('Bedrock.Server.DataDir.Backup',

    'pDataDir','C:\Program Files\Cognos\TM1\Custom\TM1Data\PlanSamp'

    'pBackupDir','C:\Program Files\Cognos\TM1\Custom\TM1Data\PlanSampBackups'

    'pDebug',0

    );


Copyright 2011, bedrocktm1.org Tested on: TM1 Versions 9.1 to 10.2.1 / Cognos Express 9.0 to 10.2