app2container remote extract command
Run this command from a worker machine to generate an application archive for the specified application on the target application server. The target application server is specified by its IP address or Fully Qualified Domain Name (FQDN). Before you call this command, you must call the remote analyze command.
Note
If the command fails, an error message is displayed in the console, followed by additional messaging to help you troubleshoot.
When you ran the init command, if you chose to automatically upload logs to App2Container support if an error occurs, App2Container notifies you of the success of the automatic upload of your application support bundle.
Otherwise, App2Container messaging directs you to upload application artifacts by running the upload-support-bundle command for additional support.
Syntax
app2container remote extract --application-id
id
--targetIP/FQDN
[--help]
Parameters and options
- --application-id
id
-
The application ID (required). After you run the remote inventory command, you can find the application ID in the
inventory.json
file in one of the following locations:-
Linux:
<workspace>/remote/
<target server IP or FQDN>
/inventory.json -
Windows:
<workspace>\remote\
<target server IP or FQDN>
\.app2container-config\inventory.json
-
- --target
IP/FQDN
-
Specifies the IP address or FQDN of the application server targeted for the inventory (required).
Options
- --help
-
Displays the command help.
Output
This command creates an archive file. The archive is written to the output location that you specified when you ran the init command.
Examples
Choose the operating system platform tab for the application server or worker machine where you run the command.