How to take backup of only few Categories of a project
Posted: Thu Jun 08, 2006 8:57 am
Hello sir,
Currently i am taking backup of my windows server where my datastage installed (all projects) every week.
But in one of my project(HR) i have to take backup of 2 Categories every day.
Currently i am using windows batch file that contains following code:
*****************************************************
:: Supply values to paramters.
SET Host=156.80.214.58
::SET Host=dwetl-prod.bah.com
SET User=dsadmin
SET PW=adm1n
::SET BackupDir=c:\temp
SET BackupDir=d:\DSETLBackUp\Project
:: SET CompTog=%5
:: GOTO Syntax
:: *****************************************************
:: Hard-coded values. Dependent on each computer.
SET DsxCmd=C:\Progra~1\Ascential\DataStage7.5.1\dscmdexport.exe
::SET DsxJob=C:\Progra~1\Ascential\DataStage\dsjob.exe
SET TempFile=%BackupDir%\ProjList.txt
SET BadFile=%BackupDir%\BadProj.txt
SET GoodFile=%BackupDir%\GoodProj.txt
SET DSLog=BackupLog
:: SET CompScri=gzip --name -3
:: ******************************************************
Can you guys help me out how to take only few categories of one of my project.
Thanks in advance
Narasa
Currently i am taking backup of my windows server where my datastage installed (all projects) every week.
But in one of my project(HR) i have to take backup of 2 Categories every day.
Currently i am using windows batch file that contains following code:
*****************************************************
:: Supply values to paramters.
SET Host=156.80.214.58
::SET Host=dwetl-prod.bah.com
SET User=dsadmin
SET PW=adm1n
::SET BackupDir=c:\temp
SET BackupDir=d:\DSETLBackUp\Project
:: SET CompTog=%5
:: GOTO Syntax
:: *****************************************************
:: Hard-coded values. Dependent on each computer.
SET DsxCmd=C:\Progra~1\Ascential\DataStage7.5.1\dscmdexport.exe
::SET DsxJob=C:\Progra~1\Ascential\DataStage\dsjob.exe
SET TempFile=%BackupDir%\ProjList.txt
SET BadFile=%BackupDir%\BadProj.txt
SET GoodFile=%BackupDir%\GoodProj.txt
SET DSLog=BackupLog
:: SET CompScri=gzip --name -3
:: ******************************************************
Can you guys help me out how to take only few categories of one of my project.
Thanks in advance
Narasa