How can I make sure all new and changed objects are being backed up when using the SAVCHGOBJ command?

35 pts.
Tags:
AS/400
AS/400 backup
SAVCHGOBJ
Our current backup procedures include a full system save once a week (SAT) and two daily save change object processes (M-F). Yesterday a new library added on Monday was deleted by accident. When trying to restore it from one of the daily tape backups which was done using the SAVCHGOBJ command it was discovered that it was not there. My understanding of a SAVCHGOBJ was that all new or changed objects would be picked up since the last Full backup. This obviously is not the case if the library is new and does not exist on the last full backup. How can I ensure that ALL new and changed objects will get included in my daily backups if I am using the SAVCHGOBJ command or is that possible?

Software/Hardware used:
V7R1M0 - Power 7

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • CharlieBrowne
    When you do your full system save, the last saved date in the object description for each library is updated with a current timestamp. The SAVCHGOBJ uses that date to save objects within that library and saves objects changed after that date. Since your new library was never saved, it did not save anything. To resolve your problem, whenever you create a new library, do a SAVLIB right away, then the changed objects that library will be save during your M-F. process. You can just do the save of the empty library to a *SAVF. Remember to use RSTOBJ from a SAVCHGOBJ process, the library must exist. So in this case, after the library was deleted, you would need to do a RSTLIB from the *SAVF before you could restore the changed objects.,
    41,380 pointsBadges:
    report
  • TomLiotta
    What is the SAVCHGOBJ command that you are running? What was the name of the library that wasn't saved? It's not necessary to save the library before running SAVCHGOBJ, but you do need to use the appropriate SAVCHGOBJ command parameters and have an appropriate library name. (By saving the library as CharlieBrowne recommends, you can probably fix your problem.) . Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following