India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudMicrofinance (NBFC-MFI loan servicing)BFSI & Fintech

Microfinance lender reverses a faulty EMI batch and keeps 9 hours of collections

NBFC-MFI with 11 lakh borrowers, 640 branches, loan management system on AlloyDB · Google Cloud Mumbai · 1 day recovery, 5 weeks redesign

Amazon Web Services
01

As-is situation

The lender's loan management system on GKE used AlloyDB for PostgreSQL holding loan accounts, repayment schedules and collections, about 1.8 TB. Field officers posted group collections from a mobile app through the day, about 2.6 lakh receipts on a peak day. Continuous backup retention was the 14-day default and nobody had performed a point-in-time restore. A vendor patch to the EMI allocation routine went live on a Monday at 7 a.m. and misallocated principal and interest on 3.4 lakh instalments. The error was noticed at 4 p.m. when branch managers saw wrong overdue counts.

  • Nine hours of legitimate collections had been posted after the faulty patch and could not be lost
  • No tested procedure for restoring a 1.8 TB cluster to a point in time
  • Borrower SMS confirmations had already gone out for some misallocated receipts
02

Approach, tools and architecture

NTSPL led the recovery and then the redesign. AlloyDB was restored to a new cluster at 06:58, two minutes before the patch, while production stayed online with collections paused only for the final merge. Reconciliation scripts compared instalment allocations in the restored and live clusters by loan ID and receipt ID, recomputed allocations for the 3.4 lakh affected instalments using the corrected routine, and merged them in a 40-minute window. Afterwards, continuous backup retention was raised to 35 days, monthly on-demand backups were kept 13 months, and a monthly automated side-by-side restore with amcheck and a portfolio-balance query was introduced.

AlloyDB production → PITR to new cluster at 06:58 → loan and receipt ID diff → corrected allocation recompute → merge window → monthly automated restore and amcheck
AlloyDB for PostgreSQL continuous backup and recoveryAlloyDB on-demand backupsGoogle Kubernetes EngineCloud SchedulerCloud Monitoring
03

Implementation approach

Day 1 · Side-by-side recoveryThe cluster was restored to the pre-patch minute, diffs computed and corrected allocations merged before midnight.
Weeks 1-2 · Retention and scenario matrixRetention was extended and recovery approaches were documented for the LMS and two other databases.
Weeks 3-5 · AutomationMonthly side-by-side restores with amcheck and a portfolio-balance query were automated and reported to the CRO.
04

Measured results

Legitimate collections preserved
At risk (9 hours)→2.1 lakh receipts retained
Instalments corrected
3.4 lakh misallocated→3.4 lakh corrected same day
PITR window
14 days→35 days
Restore of 1.8 TB cluster to a point in time
Never tested→Restored in 1 h 25 min

Operational improvements

  • Vendor patches now require a recorded restore point and a rollback owner in the change ticket
  • The CRO receives a monthly restore and integrity report as part of operational risk reporting
05

Cost considerations

Extending continuous backup to 35 days and keeping 13 monthly backups increased backup storage cost by about INR 46,000 a month. The monthly restore test cluster runs for about four hours and costs roughly INR 6,000 per run.

06

Return on investment

ROI indicator

A full rollback would have discarded 2.1 lakh receipts and forced manual re-entry across 640 branches, estimated at 5,000 staff-hours, plus customer disputes. The same-day recovery and new design cost less than a single month of that disruption.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.