3.7.2 Saving and recovering JP1/FTP settings
- Organization of this subsection
(1) Saving
You save necessary information by saving the corresponding files and directories. Execute the command at the host whose environment is to be saved.
- Example
In AIX: >tar cvfp definedata /var/opt/jp1_fts/sys/environment /var/opt/jp1_fts/sys/UserData /var/opt/jp1_fts/sys/carddata /var/opt/jp1_fts/sys/.ftstblvers >tar cvfp historydata /var/opt/jp1_fts/sys/history /var/opt/jp1_fts/sys/system /var/opt/jp1_fts/trace In Linux: >tar cvfpP definedata /var/opt/jp1_fts/sys/environment /var/opt/jp1_fts/sys/UserData /var/opt/jp1_fts/sys/carddata /var/opt/jp1_fts/sys/.ftstblvers >tar cvfpP historydata /var/opt/jp1_fts/sys/history /var/opt/jp1_fts/sys/system /var/opt/jp1_fts/trace
(2) Recovering
You recover information by restoring it to the same directories from which the information was saved.
- Note
-
-
If the location or attributes have changed, JP1/FTP will not run correctly.
-
Definition information and log information cannot be migrated between instances of JP1/FTP on different OSs.
-
Execute the command at the host whose environment is to be recovered.
- Example
In AIX: >tar xvfp definedata >tar xvfp historydata In Linux: >tar xvfpP definedata >tar xvfpP historydata
In the above example, note that if the definition information already exists, it will be overwritten.
- When recovering definition information that was saved by version 05-10 or later through a version earlier than 07-50
-
If you use definition data that was saved by version 05-10 or later through a version earlier than 07-50, you must execute the following command after the data has been recovered:
In AIX, and Linux: >rm -f /var/opt/jp1_fts/sys/.ftstblvers >/opt/jp1_fts/bin/ftstbldef
- When recovering definition information that was saved by version 07-50 or later through a version earlier than 09-00
-
If you use definition data that was saved by version 07-50 or later through a version earlier than 09-00, you must execute the following command after the data has been recovered:
In AIX, and Linux: >/opt/jp1_fts/bin/ftstbldef
- When recovering definition information that was saved by version 09-00 or later
-
You must execute the following command after the data has been recovered:
>/opt/jp1_fts/bin/ftstbldef