Case 01 · Infrastructure · Python · AI-Assisted Engineering
NKMZ S3 Sync
Recovering ~2.8 TB of Oracle data from S3—and building the tool mid-flight
A real enterprise recovery job: pull a multi-terabyte Oracle dataset down from S3-compatible object storage into a self-contained virtual environment. When severe I/O stalls began locking up the VM, I ran systematic diagnostics from physical storage up to the hypervisor—and built a custom desktop tool in parallel, without halting recovery, to bring the database across the finish line.
- ~2.8 TBOracle data files in S3-compatible storage
- SHA-2565-zone spot check or full-file verification
- 4 demostransfer, safe cleanup, integrity check, resume
- Oracledatabase startup verified by the DBA
Video not loading? Open trailer on YouTube
01 Challenge
Rebuild an Oracle environment from object storage—without corrupting data along the way
Context. This was a real production assignment for a major industrial manufacturer, not a classroom exercise. After key corporate workloads had been moved to the cloud, we needed to reconstruct a local, self-contained Oracle environment from S3-compatible storage, verify it end-to-end, and hand the drive off to a colleague—an Oracle specialist.
My scope. The infrastructure stack: Windows host, VMware virtualization, physical and virtual storage, data transfer, and integrity verification. Database administration and startup lived with my colleague.
Initiative. Nobody asked for custom software. I made the call to build it myself so I could eliminate repetitive manual checks and avoid re-pulling terabytes of data from scratch.
Scale & source
Roughly 2.8 TB of Oracle data files sitting in S3-compatible object storage. Multi-hour transfers, dropped sessions, and partial files were guaranteed realities—not edge cases.
Target environment
A standalone Oracle Linux VM running in VMware Workstation on a Windows host, with data landing on a dedicated volume exposed over SMB for handoff.
Definition of done
Not "files copied," but "verified and bootable": cryptographic integrity checks, checkpointed resume after interruptions, and a confirmed Oracle Database startup.
02 Diagnostics
When the whole stack freezes: isolating faults from bare drive to hypervisor
Under sustained file copies, the guest VM would grind to a halt and drop off the network. Instead of shotgunning config tweaks, I ran disciplined single-variable tests—one hypothesis, one measurement, one conclusion at a time.
Testbed
Observed failure symptoms
SCSI command timeouts across drives
89 GB VMDK-to-VMDK copy
.vmem) to fast NVMe and reserving RAM cut contention, but freezes persisted.partialsync completed, zero soft lockups.stable03 Engineering Decision
Why I built a custom tool instead of starting over
Every manual audit burned hours on the same two questions: which exact files didn't match S3, and could I pull down only the delta without restarting multi-gigabyte transfers? Re-downloading the entire dataset wasn't a serious option—so I built a dedicated sync utility while keeping recovery moving forward.
Before Manual workflow
- Repetitive hand-checking of file lists and sizes
- Missing or corrupted database files caught late
- Dropped transfers risked starting huge files from byte zero
- Heavy, repetitive manual effort with no disk-load visibility
After NKMZ S3 Sync
- Automated S3 diffing by byte size and SHA-256 checksums
- Selective sync of missing or mismatched files only
- Checkpointed, byte-offset resumable downloads
- Live disk telemetry plus structured LOG / CSV / HTML reports
04 Architecture
NKMZ S3 Sync: end-to-end data path from S3 to the Oracle volume
A Windows desktop application built with Python, PySide6, and Boto3. Objects stream from S3-compatible storage through diffing, staged transfer, and hash-verification pipelines onto an SMB share mounted to the Oracle Linux volume.
Write profile over peak speed
Each file is written sequentially. On shingled magnetic recording (SMR) drives, a predictable write pattern matters far more than chasing peak MB/s.
Tunable concurrency
1 to 5 concurrent files backed by a queue, letting you pace throughput to the target disk rather than the network pipe.
Staging files & checkpoints
Downloads stream into temporary .nkmzpart files and replace the target file only after verification passes.
Three verification tiers
Byte size, 5-zone SHA-256 spot check, and full-file SHA-256—pick the right trade-off between speed and certainty.
Proper TLS & secret storage
Uses the Windows trust store instead of disabling TLS verification, and keeps S3 credentials in protected storage rather than plaintext config files.
Audit reports & safe cleanup
Generates LOG, CSV, and HTML reports, plus orphan-file detection—flagging local files absent from S3 for safe removal.
05 Data Integrity
Verification & resumable transfers: never losing hard-won progress
Switch between verification modes below to see which blocks of a file are sampled.
5-zone SHA-256 check
- Stream to .nkmzpart
- Save checkpoint
- Connection drop
- Resume from offset
- Verify file
- Safe swap
Interactive illustration of the checkpoint mechanism, not a live recording.
06 Full Film & Demos
Complete technical walkthrough
Deep-dive video covering the production problem, VMware and storage diagnostics, software architecture, and four live demonstrations (Russian-language narration; click any chapter below to jump straight to that timestamp).
Video not loading? Open on YouTube
Four hands-on software demonstrations
Transfer & disk load telemetry
Concurrent multi-file downloads paired with a real-time disk activity chart.
Safe orphan-file cleanup
Detecting local files that don't exist in the S3 bucket and removing them safely.
5-zone SHA-256 spot check
Sampling and comparing five strategic byte ranges against the S3 source.
Resumable transfer recovery
Picking up an interrupted download right from its last saved checkpoint.
07 AI-Assisted Engineering
ChatGPT as a force multiplier—not an autopilot
I built NKMZ S3 Sync alongside active recovery operations using ChatGPT Plus across diagnostics, architecture, implementation, and test design. Engineering judgment and accountability stayed squarely with me.
Engineer My ownership
- Problem framing, diagnostic order of operations, and strategy
- Risk assessment and architectural trade-offs (SMR, SMB, TLS)
- Running controlled tests on real hardware and interpreting logs
- Code review, acceptance testing, and release gating
ChatGPT Plus Acceleration
- Structuring diagnostic steps and parsing kernel / host logs
- Iterating on module boundaries and state-machine edge cases
- Drafting and refactoring Python, PySide6, and Boto3 code
- Designing synthetic failure tests and debugging corner cases
The point isn't switching careers—it's combining deep infrastructure intuition, disciplined diagnostics, and AI-assisted software development to ship a working tool while the clock is ticking.
08 Results
Verified production outcomes
Historical production results, point-in-time snapshot measurements, and test-data demonstrations are kept strictly separate—just as they are in the film.
● Real production resultsfiles passed 5-zone SHA-256 verification after recovery
Initial scan: 13 size matches, 1 mismatch, 0 errors. Zero mismatches after selective re-sync.
of overnight batch preserved via checkpoints
re-verified in place without re-downloading payload
A protective metadata guard flagged two fully downloaded files; the tool re-verified both locally instead of pulling gigabytes over the wire again.
Oracle Database startup was confirmed by the Oracle specialist.
Environment handoff
- New 3.2 TB ext4 volume replaced the legacy ext3 filesystem while preserving UUID mounts, Samba shares, VMX config, and ACLs.
- 50 GiB system VMDK copied in 7 min 20 s (124.36 MB/s) with exact byte-size match across all three files.
- Self-contained boot of Oracle Linux from the external drive, SSH access, and clean data-volume mount verified via command output.
- SMART status: PASSED with 1 reallocated sector (0 pending / uncorrectable / CRC)—flagged for ongoing monitoring and never to be used as a sole copy.
Toshiba drive load: third-party S3 client vs. NKMZ S3 Sync 1.2.0
NKMZ S3 Sync 1.2.0 sustained 26.20 MB/s across three concurrent files. These are point-in-time snapshots captured under different operating modes—not a controlled benchmark or a speedup guarantee.
DEMO 01–04 in the full film were recorded on synthetic test data to demonstrate application behavior and are not counted toward the production figures above.
Application release history
- 1.0.0Core PySide6 GUI, verification modes, and checkpointed resume.
- 1.1.0Run history, pinned reports, built-in docs, and size diffing.
- 1.1.1Expanded table filters and UI refinements.
- 1.2.01–5 concurrent file transfers, job queue, live disk telemetry, and charts.
- 1.2.1LK app icon, telemetry from startup, orphan-file scan and safe deletion.
- 1.2.2Samba deletion fix—tested and verified on the live share.
- 1.2.3Planned: dynamic filtered byte totals, net-new-bytes ETA, and stall alerting. Held back intentionally until production recovery wrapped up.
09 Technology Stack
One project across infrastructure, software, and AI
Infrastructure
Software engineering
AI-assisted engineering
From knowledge to working solutions
Engineering experience. Artificial intelligence. Responsible decisions. Real results. Watch the complete technical walkthrough or explore the rest of the portfolio.