Page 1 of 1

Export by command line

Posted: Tue May 06, 2008 2:35 am
by mjgmc
Hello,

In our project we created a shell that imports our dsx files, but we need to create an automatic system to backup the jobs we want to import before, so is it possible to make an export by command line?

Re: Export by command line

Posted: Tue May 06, 2008 4:03 am
by sachin1
i have never used it in unix system,

you can check for help in manager guide pdf, dscmdexport command can help

dscmdexport /H hostname /U username /P password /O omitflag project
pathname /V

or may be searching in forum can help.

Posted: Tue May 06, 2008 5:38 am
by mjgmc
Thanks

Posted: Tue May 06, 2008 9:58 am
by Minhajuddin
dscmdexport is a utility which comes with the "Client". So you can't run it on the "Unix server". You'll have to write to write a script which runs it on your client machine. Ken has a beautiful script which backs up all the projects on a server.

Posted: Thu May 08, 2008 2:30 am
by AmeyJoshi14
Minhajuddin wrote:dscmdexport is a utility which comes with the "Client". So you can't run it on the "Unix server". You'll have to write to write a script which runs it on your client machine. Ken has a beautiful script which backs up all the projects on a server.
Can you please provide the link for the same.. :)

Thanks in Advance!

Posted: Thu May 08, 2008 9:53 am
by Minhajuddin
Actually these scripts are by Uncle Kim, was a typo.
Here is the link where you can find a lot of other useful stuff.

http://www.duke-consulting.com/DataStage_Tips.htm

Click on this link to download the backup scripts
http://www.duke-consulting.com/Downloads/Scripts.zip