If you don't want Robot HA to send your libraries over to the backup system, you can do it manually.

  1. Use the following steps to define sync attributes for the library:

    1. From the Robot HA Main Menu, select option 1 to display the Work With Synchronization Attributes panel.

    2. Press F6, Create, to add as many new library sync attributes as needed.

    3. When prompted, specify a journal and remote journal name. They should be the same and be similar to the library name.

      Note: The recommended local journal library name is JRNLIB, and the recommended remote journal library name is RMTJRNLIB.

  2. Once the sync attributes have been defined, use the following command to change to a new, empty journal receiver:

    CHGJRN JRN(JRNLIB/my_journal) JRNRCV(*GEN) SEQOPT(*RESET)

    This step is optional. Using this command helps save time whenever remote journaling starts and an attached receiver is sent from the operating system to the target system.

  3. Set a manual sync point for the library on the production system using the following steps:

    1. From the Robot HA Main Menu, select option 1 to display the Work With Synchronization Attributes panel.

    2. Enter option 8 beside the entry for the library you want to replicate, then press F4 to prompt. The Synchronize Libraries panel displays.

    3. Press F10 to display additional parameters and page down.

    4. Define these parameters with the following options:

      • Set Full save: Option to *MANUAL and Full save: Manual type to *BEGIN.

    5. Press Enter, then wait for the job to finish.
  4. Save the library however you'd prefer (on a tape, save file, or DVD) and specify the following parameters on the IBM i SAVLIB command:

    • Set Object pre-check to *YES

    • Set Save active to *LIB

    • Set Save access paths to *YES

    • If you want your private authorities saved with the library, set Private authorities to *YES

  5. Make sure the target library is empty or doesn't exist on the target system, then restore the library to the target system.
    Note: If you saved private authorities in the previous step by setting Private authorities to *YES,  you must restore them. On the restore, set Private authorities to *YES.

    Before you continue, confirm that the restore completed successfully.

  6. Use the following commands on the target system to disable any triggers and constraints in the library you just restored:

    CHGTRGRSF FILE(your_library/*ALL) STATE(*DISABLED)

    CHGCSTRSF FILE(your_library/*ALL) STATE(*DISABLED)

  7. Once triggers and constraints are disabled, use the following steps to remove the manual sync point from the library on the production system.

    1. From the Robot HA Main Menu, select option 1 to display the Work With Synchronization Attributes panel.

    2. Enter option 8 beside the entry for the library you want to replicate, then press F4 to prompt. The Synchronize Libraries panel displays.

    3. Press F10 to display additional parameters and page down.

    4. Define these parameters with the following options:

      • Set Full save: Option to *MANUAL and Full save: Manual type to *END.

    5. Press Enter, then wait for the job to complete. Message RSF7406 will be sent upon completion to the user associated with the job.

  8. Once the previous job completes, start replication as normal for the library. To do this, enter option 8 beside the library entry on the Work With Synchronization Attributes panel. Then, accept all of the defaults and press Enter.


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: March 10, 2021