1 Reply Latest reply: Sep 1, 2011 10:21 AM by Dcooksey-Oracle RSS

    OSB Web-Gui creates commands for restore of files with syntax errors?

    801761
      Hi there,
      testing OSB during a PoC for a customer we tried to restore some files using the browser based web gui.
      We saw this using "Extended Command Output". After selecting one file for restore and starting the restore we saw
      the command created and an error message:

      +/usr/local/oracle/backup/.bin.linux86_64/obtool gui -u admin connect 'e94d7d68-b531-102e-91ff-002128d7c160' timeout '86400' restore tohost 'c16-210' unprivileged obtaropt 'admin' priority '100' keepinuse '/somefile'+

      obtool: option "--obtaropt" requires an argument that begins with a "-"

      Trying this in obtool itself we're getting the same:

      +ob> restore tohost 'c16-210' unprivileged obtaropt 'admin' priority '100' --keepinuse '/somefile'+
      obtool: option "--obtaropt" requires an argument that begins with a "-"

      Looking in the reference we are able to start a restore without error (and with file coming back):

      +ob> restore tohost 'c16-210' go '/bin/mail'+
      Info: 1 catalog restore request item submitted; job id is admin/14.
      Info: 1 catalog restore request item submitted; job id is admin/15.

      Does anyone here have an idea, a solution or has simply seen similar things?
      We are using OSB 10.3.0.3.0 on OEL 5.5.

      best regards Stefan
        • 1. Re: OSB Web-Gui creates commands for restore of files with syntax errors?
          Dcooksey-Oracle
          The problem is that "admin" was included as a Restore option and it is not a valid Restore / obtar option.

          Here are links to the documentation which describe what are valid restore / obtar options:
          http://download.oracle.com/docs/cd/E14812_01/doc/doc.103/e12834/osb_filesystem_restore.htm#CJAGECJD

          "Optionally, in Restore options, enter one or more obtar options.
          For example, -J enables debug output and provides a high level of detail in restore transcripts." A complete list of obtar options is:

          http://download.oracle.com/docs/cd/E14812_01/doc/doc.103/e12838/ap_obtar.htm#OBREF362

          Donna