Subscribe
THE DAILY DIGEST

The daily edition.

Essential reading from Rocket Enterprise. Straight to the source.

Archived edition
DAILY EDITION1 story· 3 min read

Fileshare rollforward recovery trades write-time overhead for backup-based recovery

Fileshare’s Recovery Utility can restore updates after a system failure, but only when those updates were written to a recovery log. Advanced logging supports two distinct recovery strategies: rollback, which repairs the files present when Fileshare failed, and rollforward, which begins with backup copies and reapplies logged changes. Fileshare Recovery

IN FOCUS

Fileshare rollforward recovery trades write-time overhead for backup-based recovery

Fileshare’s Recovery Utility can restore updates after a system failure, but only when those updates were written to a recovery log. Advanced logging supports two distinct recovery strategies: rollback, which repairs the files present when Fileshare failed, and rollforward, which begins with backup copies and reapplies logged changes. Fileshare Recovery [1]

Read the full briefing

Scope: Rocket Enterprise Developer 12.0 for Eclipse on Linux/UNIX; Fileshare data-file recovery.

Fileshare’s Recovery Utility can restore updates after a system failure, but only when those updates were written to a recovery log. Advanced logging supports two distinct recovery strategies: rollback, which repairs the files present when Fileshare failed, and rollforward, which begins with backup copies and reapplies logged changes. Fileshare Recovery

To enable advanced logging for rollback alone, Rocket documents:

FS /d dbase.ref /ltf logtrans.dat

To make that log compatible with both rollback and rollforward recovery, add /ltt f:

FS /d dbase.ref /ltf logtrans.dat /ltt f

Here, /d identifies the database reference file and /ltf identifies the advanced recovery log. The /ltt f setting is therefore not merely a recovery-time option: Fileshare must generate a rollforward-compatible log while normal processing is running. Enabling Advanced Recovery Logging

The operational tradeoff concerns disk flushing. Rollback recovery is normally faster because it attempts to recover the files as they existed at the failure point. However, recovering from operating-system, device, or power failures—where cached data might not have reached disk—requires Fileshare to have started with write through (/lw) and flush on commit (/fc). Rocket notes that these options affect performance because an operation writes data to both cache and disk. Rollforward-only recovery does not require /lw or /fc. Advanced Rollback Recovery

Advanced rollforward recovery instead handles all documented failure types without that extra flushing requirement. Recovery consists of replacing the damaged data files with the current backup copies and running:

fs /r dbase.ref

Fileshare then reapplies eligible logged updates. Recovery time depends on backup frequency: an older backup leaves more logged work to replay. A user exit, fsexitproc.cbl, can control which files are included. After recovery, archive the existing logs; otherwise, the next Fileshare startup can fail with FS302-S Unable to continue - A log file already exists. Advanced Rollforward Recovery

Takeaway: Decide the recovery model before failure: /ltt f plus current backups enables rollforward recovery without /lw and /fc, while rollback protection against unflushed-cache failures requires those higher-overhead options.

Enterprise Developer / Enterprise Server · 12.0 · Linux/UNIX
Documentation references
That’s the briefing.You’ve reached the end of this edition.
More editions

From the archive

View all
Oct 14

Dynamic CTF changes trace levels without making broad tracing permanent

Oct 13

IMS TM insight: High availability comes from a shared queue

Oct 12

MLDAP rule-set caching targets authorization work that ordinary result caching misses