sampo_ps import¶
Overview¶
Warning
sampo_ps import command is deprecated.
sampo_ps import imports an exported process data that has been exported by the sampo_ps export command.
Examples¶
You can import all or parts of the data in a ProcessStore by sampo_ps import. The following examples assume that the ProcessStore contains no processes before executing commands.
Importing a process.
The exported process input_path/fabhmerg_predict.30e9c908-86e9-447b-ace8-db09d9d0b2ea is imported to the ProcessStore /var/process_store_storage.
Command:
$ sampo_ps import -t process -s file:///var/process_store_storage -i input_path/fabhmerg_predict.30e9c908-86e9-447b-ace8-db09d9d0b2ea
Output:
/var/process_store_storage └── fabhmerg_predict.30e9c908-86e9-447b-ace8-db09d9d0b2ea ├── ... . . .
Importing all the processes in an input path.
All the exported processes in the input path input_path are imported to the ProcessStore /var/process_store_storage.
Command:
$ sampo_ps import -t all -s file:///var/process_store_storage -i input_path
Output:
/var/process_store_storage ├── processA.0d3609dc-f53e-4f94-9d62-d99dd71f0bc1 │ ├── ... │ . │ . │ . ├── processB.27a210b2-230d-4e0f-bd57-9badb7a29253 │ ├── ... │ . │ . │ . . . .