Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-568

Export server snapshot does not take into account server paths using --relative-to option

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • None

      The following high command does not take into account a server path specified via --relative-to:

      [standalone@localhost:41433 /] installer clone-export --path=snapshot.zip --relative-to=jboss.server.config.dir
      

      The expected result for the above command is to get the server installation metadata under $jboss.server.config.dir/snapshot.zip file where $jboss.home.dir is resolved by using the environment of the target server, so if we are using a JBoss CLI interatove session connected to a remote server, the snapshot.zip must be stored in the remote server's filesystem.

      The management Operation works as expected:

      standalone@localhost:41433 /] /core-service=installer:clone-export(path=test.zip, relative-to=jboss.server.config.dir)
      

              yborgess1@redhat.com Yeray Borges Santana
              yborgess1@redhat.com Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: