Hitachi

JP1 Version 12 for UNIX Systems JP1/File Transmission Server/FTP Description, Reference and Operator's Guide


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 HP-UX, Solaris, and 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 HP-UX, Solaris, and 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 a version earlier than 05-00

If you use definition data that was saved by a version earlier than 05-00, you must execute the /opt/jp1_fts/bin/ftsvup command (no arguments) after the data has been recovered:

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 HP-UX, AIX, and Linux:
>rm -f /var/opt/jp1_fts/sys/.ftstblvers
>/opt/jp1_fts/bin/ftstbldef
 
In Solaris:
>rm -f /var/opt/jp1_fts/sys/.ftstblvers
>/opt/jp1_fts/lib/script/ftsreloc.sh
>/opt/jp1_fts/lib/script/ftsodrm.sh
>/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 HP-UX, AIX, and Linux:
>/opt/jp1_fts/bin/ftstbldef
 
In Solaris:
>/opt/jp1_fts/lib/script/ftsreloc.sh
>/opt/jp1_fts/lib/script/ftsodrm.sh
>/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