Hitachi

For UNIX Systems Job Management Partner 1 Version 10 Job Management Partner 1/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.

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 07-50

If you use definition data that was saved by a version earlier than 07-50, you must execute the following command after the data has been recovered:

In HP-UX:
>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 HP-UX:
>/opt/jp1_fts/bin/ftstbldef
When recovering definition information that was saved by version 09-00 or later

If you use definition data 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