Workspace export via command line

The utility that was written to export applications via the command line is great so we can set up nightly application backups. I did a search and couldn't find anything that would do something similar for workspaces. Is there anything like this that exists or is in the works?
Thanks
- Brian

Hi Gerald,
Yes it is very much possible. For large configurations, it is recommended to take export from command line-
1. run setenv file
2. java -Xms512M -Xmx512M oracle.tip.repos.export.Export -inputfile <inputfile> [-ignoretypes <
file>] <export file name>
Arguments:
-inputfile <inputfile> to export specific objects .
-ignoretypes <file> , This is only for business process. This is to ignore
the object types while exporting deployable BP.
<export file name> name of the export file
For e.g. -
C:\B2B10g\Midtier\ip\install>java -Xms512M -Xmx512M oracle.tip.repos.export.Export C:\commandExport.xml
Starting Execution Context
Export file name is C:\commandExport.xml
3.26
exporting all design objects
export done
For benefit of other users of this community, I have documented the same on below link -
http://anuj-dwivedi.blogspot.com/2009/12/exporting-configuration-through-command.html
Regards,
Anuj
Edited by: Anuj Dwivedi, Infosys on Dec 22, 2009 10:28 PM

Similar Messages

  • Automate export via command line (Tiger)

    I want to automate the backup (not just the directories) of both iCal and Address Book on Tiger. I've had a look at the AppleScript dictionaries for both apps, but the export function is not there.
    Any ideas on how I can do the export on the command line??

    Hi Gerald,
    Yes it is very much possible. For large configurations, it is recommended to take export from command line-
    1. run setenv file
    2. java -Xms512M -Xmx512M oracle.tip.repos.export.Export -inputfile <inputfile> [-ignoretypes <
    file>] <export file name>
    Arguments:
    -inputfile <inputfile> to export specific objects .
    -ignoretypes <file> , This is only for business process. This is to ignore
    the object types while exporting deployable BP.
    <export file name> name of the export file
    For e.g. -
    C:\B2B10g\Midtier\ip\install>java -Xms512M -Xmx512M oracle.tip.repos.export.Export C:\commandExport.xml
    Starting Execution Context
    Export file name is C:\commandExport.xml
    3.26
    exporting all design objects
    export done
    For benefit of other users of this community, I have documented the same on below link -
    http://anuj-dwivedi.blogspot.com/2009/12/exporting-configuration-through-command.html
    Regards,
    Anuj
    Edited by: Anuj Dwivedi, Infosys on Dec 22, 2009 10:28 PM

  • Export Configuration via Command Line?

    Hi Gurus,
    Is it possible to do a configuration export via the command line? I have yet to find any documentation regarding this. The reason I ask is my GUI is having issues where I cannot save reports or export files. I have an SR open regarding the reports but not the export as this was noticed after the SR was created.
    Thanks
    Gerald

    Hi Gerald,
    Yes it is very much possible. For large configurations, it is recommended to take export from command line-
    1. run setenv file
    2. java -Xms512M -Xmx512M oracle.tip.repos.export.Export -inputfile <inputfile> [-ignoretypes <
    file>] <export file name>
    Arguments:
    -inputfile <inputfile> to export specific objects .
    -ignoretypes <file> , This is only for business process. This is to ignore
    the object types while exporting deployable BP.
    <export file name> name of the export file
    For e.g. -
    C:\B2B10g\Midtier\ip\install>java -Xms512M -Xmx512M oracle.tip.repos.export.Export C:\commandExport.xml
    Starting Execution Context
    Export file name is C:\commandExport.xml
    3.26
    exporting all design objects
    export done
    For benefit of other users of this community, I have documented the same on below link -
    http://anuj-dwivedi.blogspot.com/2009/12/exporting-configuration-through-command.html
    Regards,
    Anuj
    Edited by: Anuj Dwivedi, Infosys on Dec 22, 2009 10:28 PM

  • Running reports via command-line with /batch option

    Hi,
    I have created a batch file which runs, and exports the results of 7 different discoverer reports with /batch option.
    Contents of batch file:
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input1.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input2.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input3.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input4.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input5.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input6.txt"
    c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input7.txt"
    Sample of a cmd file the bacth file runs:....
    /connect user/password@oraprd /apps_responsibility "BIS Super User"
    /open "H:\Projects\DRP Import Modelling\Dev\Intransit Extract.dis"
    /sheet 1 /export xls "H:\Projects\DRP Import Modelling\automation\Intransit Input.xls" /batch
    The batch file runs ok and processes each report in sequence, and creates the excel export one after the other.
    However, I need to process the 7 reports in parallel, so changed the batch file to process in own thread :
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input1.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input2.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input3.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input4.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input5.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input6.txt"
    start c:\orant\discvr4\dis4usr /cmdfile "H:\Projects\DRP Import Modelling\automation\DRP Model Input7.txt"
    The reports kick off at the same time and I can see 7 dis4usr.exe processes running via task manager
    Problem:
    The first reports runs and exports ok.
    All the others dis4usr.exe processing stops with the following error pop-up:
    ! Could not open file. OK
    Question:
    Can you only process reports sequentially via command line mode with /batch option?
    If not...what am I missing...its driving me insane :)
    All asistance is greatly appreciated. Thanks

    Ladies and gentlemen.....I have solved my problemo!
    The reason why the rest of the reports were getting the 'could not open file.' error was due to the fact that each discoverer instance launched was
    trying to access the same standard log file simultaneously.
    I modified each cmd file to write logging info to individual files: eg
    /logfile "H:\Projects\DRP Import Modelling\Automation\input2_log.txt"
    Now that's there's no contention with logging, the reports are firing off beautifully in parallel :)
    I am definitely having a beer this evening!
    Thanks for everyone's input...kept me on the righteous path :)

  • Assessing Command 'Analyze Source Files' via Command Line when running TestSTand Deployment Utility

    Our Software Configuration Manager is running the TestStand Command Line Deployment Build Tool (Ref: https://decibel.ni.com/content/docs/DOC-38947).
            When he builds the application,  the code will not be at the same location it was in development. 
    If you are Manually running the TestStand Deployment Utility, This is not a problem because everything is relative in the workspace.   Simply go to the Distributed Files Tab (of TestSTand Deployment Utility) and hit the, "Analyze Source Files" button.  This finds the required files and apparently creates an updated hard path to be used during the build (probably in the *.tsd).
    PROBLEM:  We auto-run the Command Line Deployment Build Tool (Command Line), and we do not have access to the, 'Analyze Source Files' command.
                As a result, our build consist of many warnings and the output is missing many files (the location of the files have not been updated).
    If we could access the 'Analyze Source Files' Command via command line, that would fix the issue. 
    FYI:  We use an automatic builder called Quick Build as our builder.
    Attachments:
    TestSTand Deployment Utility-Distributed Files Tab.PNG ‏76 KB

    Unfortunately it looks like Analyze Source Files does not have a command equivalent for the command line based on this article and attached PDF:
    https://decibel.ni.com/content/docs/DOC-38947
    That may be a good post for the TestStand Idea Exchange for consideration in future versions of TestStand.
    Michael K.

  • How can I install on Windows remotely via command line?

    Hello Folks.
    I want to install an application on Windows remotely and via command line, For example, I need a tool like Psexec or WMIC but I don't like the user understand it. Any idea? 

    Hi,
    Please also refer to following FAQ article and check if those four general ways will meet your requirement.
    [Forum FAQ] How to deploy applications remotely
    If any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to merge multiple documents via command line (Adobe Acrobat Pro 9.3.2)?

    I'm searching solutions to merge multiple documents (all stored in one folder) via command line or batch file to a single PDF-File...
    Is there a way to do this?
    Finaly I want to control this from a application written in MS-Access. So, perhaps there are some features already integrated in Access to do this?
    Thanks for answer!

    If you have some programming experience you could probably do this using VBA from within MS Access to control Acrobat via OLE.
    Lots of examples on the Web.
    Hope this helps

  • Adobe Reader 11 (XI) won't open file via command line

    Hello,
    I have posted this question to probably inapropriate topic earlier today, so I am repeating it again.
    I installed newest Adobe Reader XI today and when I tried to open certain pdf file via command line, it reported a syntax error. Now, this syntax worked so far on versions 9 and 10  (I checked today with them and it is working), so my question is - where can I find new syntax, if there is any? Googling didn't help. Or what else could wrong?
    In previous versions I was able to open pdf file (on page 5) like this (all was taken from Help file "Open parameters")
    "CompletePathToAdobeReader"/A"page=5""CompletePathToPDF",
    ie
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe"/A"page=5""d:\V2\DataSheet.pdf"
    but now - not that it doesn't open specific page, but it doesn't want to open file at all.
    edit:
    Operating systems running: Windows 7, Windows XP
    Thank you.
    Message was edited by: v604

    Yes, it reported correctly becuase there is a syntax error in your command. Try spaces between the /A switch and open parameter. Try this:
    "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /A "page=5" "d:\V2\DataSheet.pdf"
    Hope this helps.
    -Sumit

  • How to turn off Bluetooth adapter via command line or script?

    I'm trying to write a batch script that will be able to turn on/off any connected Bluetooth adapters.
    In the "Bluetooth Settings" window, how can I change the "Turn off Bluetooth adapter" setting via command line or script?
    Due to my account not being verified yet, I cannot post a screenshot.  I will update this thread as soon as my account is verified.

    get-service -DisplayName 'Bluetooth Support Service' | Stop-Service
    ¯\_(ツ)_/¯

  • How to change fcalias www via command line & particular port performance status

    how to change fcalias www via command line & particular port performance status

    how to change fcalias www via command line & particular port performance status

  • How do I get LR2 to "load from device" via command line?

    Hi,
    how do I get LR2 to "load from device" via command line?
    I've got XP to load LR2 when a "camera" (and only a camera) is connected but really cool would be if LR2 would also import the pictures.
    cu,
    Michael

    1. Make sure you are using IOS 7.
    2. Make sure your iPad is register in My Support Profile.
    https://supportprofile.apple.com/
    3. Try downloading again; it should be free.

  • [SOLVED] How to Crop an MP4 Video via Command-line?

    I have ffmpeg, mpg123, and mencoder. Does anyone know of a way I could use any of those to crop an mp4 video via command-line? I am trying to take off the black space above and below a video. Thanks in advance!
    Last edited by tony5429 (2009-04-12 00:12:57)

    I don't think it's possible to crop without re-encoding, but you can crop from the command line with ffmpeg and mencoder. Not sure about mpg123 - I think that's for playing audio but I could be wrong there.
    Anyway, with ffmpeg you can do cropping by using -croptop, -cropbottom, -cropleft, and -cropright. So if you wanted to crop 16 pixels off of the top and the bottom, your command line would look something like this:
    ffmpeg -i <input file> -croptop 16 -cropbottom 16 <video encoding options> <audio encoding options> <output file>
    With mencoder you use the "crop" video filter, like this:
    mencoder <input file> -o <output file> -vf crop=320:208:0:16 <other options>
    where the "320:208:0:16" means that the resulting picture is 320 pixels wide, 208 pixels high, and the 0:16 is the x,y position of the cropped area.
    These command lines are just really very basic examples - ffmpeg and mencoder have a LOT of options. Way too many to explain here. If you don't believe me, just try reading through the mencoder man page sometime. (There's an online version of it at: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html)
    Hope this helps!!

  • Setting IIS W3C Extended Log File settings via command line, registry or configuration file

    I am currently in need of a way to set IIS W3C Extended Log File settings via command line, registry or configuration file.  More specifically the 'Bytes Sent (sc-bytes)' and 'Bytes Received (cs-bytes)' settings that are not enabled by default. 
    If anyone knows where I can locate these setting (outside of the GUI) for all IIS versions that would be greatly appreciated.

    I believe I have found a valid solution. You must have the WebAdministration module loaded.  I hope this helps someone.
    Use the following syntax to view current W3C fields:
    Get-WebConfiguration -filter system.applicationhost/sites/sitedefaults/logfile | select-object -expandProperty logExtFileFlags
    Use the following syntax to set W3C fields:
    Set-WebConfigurationProperty -Filter System.Applicationhost/Sites/SiteDefaults/logfile -Name LogExtFileFlags -Value "Date,Time,ClientIP,UserName,SiteName,ComputerName,ServerIP,Method,UriStem,UriQuery,HttpStatus,Win32Status,BytesSent,BytesRecv,TimeTaken,ServerPort,UserAgent,Cookie,Referer,ProtocolVersion,Host,HttpSubStatus"}

  • Turn on "Real-time preotection" via command line

    Hello!
    We have a cient without networking resources and I need to turn on the "Real-time protection" which is currently in OFF state.
    How can I do that via command line?
    I tried to review the "mpcmdrun" command but did not found proper switch to turning on this service.
    Regards, 
    Tamas

    You could do a regedit command to silently import a .reg file with the setting in it:
    create a .reg file from the following key:
    HKLM\SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Real-Time Protection
    Name: DisableRealtimeMonitoring
    Type: REG_DWORD
    Data: 0
    Then import it silently with this command:
    regedit /s C:\ExamplePath\Example.reg
    You could also do a PowerShell command:
    Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Microsoft Antimalware\Real-Time Protection' -Name DisableRealtimeMonitoring -Value 0

  • How to see via command line blocked mails

    Im having a problem...i have a C100 Ironport appliance and i want to know via command line, how to grep and see mails that never went delivered.
    For example...i know that someone, like [email protected] send to my exchange server an email...but in exchange never entered. So i assume that it was filtered by Ironport.
    I go to the command line, use grep and 13 and search for [email protected] and i see something like this
    Wed Apr 18 14:17:54 2007 Info: MID 3977209 ICID 8813638 From: <pedro>
    Wed Apr 18 14:18:44 2007 Info: MID 3977209 ready 3019672 bytes from <pedro>
    I see that 2 mails came from pedro....so i want to see what happened to them...they were bounced? rejected? Delivered?
    I dont have any email in the local quarantine... and i want to know how to track what happened to those emails that never entered to my exchange server.
    Is there any command?
    Than you!

    Wanted to add that you can shortcut the "grep" process by putting everything on one line.
    grep -i "Mid 3977209" mail_logs
    grep -i "ICID 8813638" mail_logs
    grep -i "From: " mail_logs
    basically
    grep -i "pattern" mail_logs
    -i ===> ignore case
    Im having a problem...i have a C100 Ironport appliance and i want to know via command line, how to grep and see mails that never went delivered.
    For example...i know that someone, like [email protected] send to my exchange server an email...but in exchange never entered. So i assume that it was filtered by Ironport.
    I go to the command line, use grep and 13 and search for [email protected] and i see something like this
    Wed Apr 18 14:17:54 2007 Info: MID 3977209 ICID 8813638 From:
    Wed Apr 18 14:18:44 2007 Info: MID 3977209 ready 3019672 bytes from
    I see that 2 mails came from pedro....so i want to see what happened to them...they were bounced? rejected? Delivered?
    I dont have any email in the local quarantine... and i want to know how to track what happened to those emails that never entered to my exchange server.
    Is there any command?
    Than you!

Maybe you are looking for