Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
4 replies Latest Post - ‏2012-10-18T21:34:22Z by SystemAdmin
SystemAdmin
SystemAdmin
304 Posts
ACCEPTED ANSWER

Pinned topic Can you export the optim directory from Command Line

‏2012-10-18T16:25:46Z |
Can you export the full optim directory to the .txt file like you can in the gui from the Command line?
Updated on 2012-10-18T21:34:22Z at 2012-10-18T21:34:22Z by SystemAdmin
  • Srinivas Rao
    Srinivas Rao
    61 Posts
    ACCEPTED ANSWER

    Re: Can you export the optim directory from Command Line

    ‏2012-10-18T16:59:49Z  in response to SystemAdmin
    Hi,

    If you meant whole optim requests / definitions which are part of a particular Optim directory
    then you can export using "pr0cmnd /export " commamd in commandline just like GUI option (Utilities --> Export).

    For more details ,please refer to the sections "Export" and "Command Line Export" in this doc Rt4scomn.pdf/CommonElmts.pdf under ..optim/rt/DOC folder.

    thanks

    Srinivas
    • SystemAdmin
      SystemAdmin
      304 Posts
      ACCEPTED ANSWER

      Re: Can you export the optim directory from Command Line

      ‏2012-10-18T17:40:07Z  in response to Srinivas Rao
      Will that command line option backup the entire directory or just select extracts?

      want to see if I can setup a batch to periodically backup and possibly check-in to source the optim directory.
      • SystemAdmin
        SystemAdmin
        304 Posts
        ACCEPTED ANSWER

        Re: Can you export the optim directory from Command Line

        ‏2012-10-18T21:33:22Z  in response to SystemAdmin
        This seems to work.

        Only one question when running on 64 bit windows 7 I must run as admin for the dos window. should I be asked to validate the user and password for Each Db alias in the OPTIM DIR?
        • SystemAdmin
          SystemAdmin
          304 Posts
          ACCEPTED ANSWER

          Re: Can you export the optim directory from Command Line

          ‏2012-10-18T21:34:22Z  in response to SystemAdmin
          pr0cmnd /export type=all name=%.% sub+ file=c:\optim_dir_export.txt

          Even though i specified to not ask for the password it would do so each alias(ask for the user and password).