Saving journals and journal receivers
You must save the journal receivers when they are no longer attached, so that you have all the journal entries saved.
Using a save-while-active operation to save objects before they reach a commitment boundary can result in objects that are saved with partial transactions. Saving journal receivers ensures that they are available to recover objects that are restored with partial transactions.
When you save a journal receiver that is no longer attached, you can free storage. However, a journal receiver whose storage has been freed must be restored before you can use it for recovery.
Notes:
- Saving journals and journal receivers in the Back up your server topic provides more information about saving journals and journal receivers. Example: Recover objects with partial transactions has instructions for recovering objects with partial transactions.
- Read the Code example disclaimer for important legal information.
- Using SAVCHGOBJ to save journal receivers
One technique for saving journal receivers is to use the Save Changed Object (SAVCHGOBJ) command. When you use the SAVCHGOBJ command to save journal receivers, ensure that you omit the attached journal receiver.- Methods to save journal receivers
Following are three methods to save journal receivers. The first method saves journal receivers individually. The two other methods save the journal receiver automatically.- Correct order for restoration of journaled objects
You must restore journals and their associated objects in the correct order.
Parent topic:
Swapping, deleting, and saving journals and receiversRelated concepts
Backing up your server topicRelated tasks
Example: Recovering objects with partial transactions