Is your IFS in your backup?

Since yesterday we went looking through the IFS, today’s Friday backup question follows naturally and it is one that has bitten more shops in the butt, than I can count: Is your IFS actually being saved? Don’t answer before you check for sure.

Here is the trap. Your libraries get saved every night. The SAVLIB runs, the job ends normally, everyone feels covered. But a library save does not touch the IFS. If your backup strategy is built around SAVLIB of your application libraries, then all of that IFS data we just talked about: the web content, the vendor files, the open source, the PASE environment, may be sitting completely unprotected, and you will not find out until the day you need to restore it, and it is not on the tape.

Remember my saying: your restore is only as good as your backup.

GO SAVE option 21 covers everything, including the IFS. Option 23 covers user data including some IFS directories. But a lot of shops long ago moved to a custom, tailored save built on SAVLIB for speed and control, and when they did, the IFS quietly fell out of the plan. Nobody decided to stop saving it. It just was never added.

The fix is to make sure your strategy explicitly includes the IFS, using SAV to save the directories that matter:

SAV DEV(‘/QSYS.LIB/TAPxx.DEVD’)
OBJ((‘/*’) (‘/QSYS.LIB’ *OMIT) (‘/QDLS’ *OMIT))

That saves the IFS while omitting the pieces that a SAVLIB & SAVDLO already covers.

The honest gut check for the weekend: pull up your save strategy and confirm, specifically, that the IFS is in it. If you run GO SAVE 21 you are fine. If you run a custom save, go verify. This is exactly the kind of gap that stays invisible for years and then defines the worst day of someone’s career.

Have a great weekend. Go check your save plan first.

#IBMi #DisasterRecovery #Power

Originally posted on LinkedIn. Join the conversation there.

Get new posts by email

Practical IBM i tips on SQL services, security and backup, sent when I publish. No spam, unsubscribe anytime.

Leave a Reply