Journaling: the backup most shops don’t use

It is Friday, so let’s talk about journaling, which is the most important backup technology that most shops don’t use.

Here is the trap. A nightly save at 11:00 pm each night protects you to last night at 11:00 pm. If your system fails at 4 pm today, a save-only strategy loses you a full day of work — every order, every transaction, every change since the save ended. For a lot of businesses, that is a catastrophe, and they do not realize it until it happens.

Journaling is what closes that gap. It records every change to your files as it happens, which means you can roll forward from your last save right up to the moment of failure. It is also the foundation for almost everything else worth having: replication, high availability, and a clean audit trail of who changed what and when.

So the Friday question is simple. What is actually being journaled on your system?

SELECT JOURNAL_LIBRARY, JOURNAL_NAME,
      OBJECT_LIBRARY, OBJECT_NAME, OBJECT_TYPE
 FROM QSYS2.JOURNALED_OBJECTS
 ORDER BY JOURNAL_LIBRARY, JOURNAL_NAME;

That lists every object currently under journal. Now go compare it against the files that actually matter — your order files, your financial data, the tables your business could not stand to lose a day of. Every critical file that is not on that list is a file you can only recover to last night’s save.

I have sat with more than one business owner and walked them through exactly how much a single day of lost transactions would cost them. It is a sobering conversation, and it is much better to have it on a quiet Friday than in the middle of a recovery.

Check what is journaled. Make sure your most important files are on the list. Then go enjoy your weekend knowing you can recover to the minute, not just to last night.

Don’t forget that you need to change the Journal receivers throughout the day, and back them up at certain intervals. This isn’t HA, maybe closer to availability with DR.

Remember what I said last week. Your restores are only as good as your backups. You can put that saying on my headstone.

#IBMi #Backup #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