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
How to take backup of only few Categories of a project
Moderators: chulett, rschirm, roy
Code: Select all
DSExport /U=%UserName% /P=%Password% /H=%Host% /JOB=JobName %Project% FileName
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'