WIP: Oracle DR CUMULATIVE backup upgrade - Phases 1-3 completed
COMPLETED: - Phase 1: Proxmox host storage (/mnt/pve/oracle-backups/ROA/autobackup) - Phase 2: RMAN script already has CUMULATIVE keyword - Phase 3: Transfer scripts updated for Proxmox host * transfer_incremental.ps1: 10.0.20.37:22122 → 10.0.20.202:22 * transfer_to_dr.ps1: Same change * Converted Windows PowerShell to Linux bash commands - VM 109 cleanup: ~6.4 GB freed, RMAN catalog cleaned NEW FILES: - copy_existing_key_to_proxmox.ps1: Setup script for SSH key - setup_ssh_keys_for_proxmox.ps1: Alternative setup (not used) PENDING (Next Session): - Run copy_existing_key_to_proxmox.ps1 on PRIMARY as Administrator - Phase 4: Modify scheduled tasks (13:00 + 18:00) - Phase 5: Configure mount point on VM 109 (F:\ drive) - Phase 6: Update restore script for F:\ mount - Phase 7: Test FULL + CUMULATIVE backup and restore DOCUMENTATION: - DR_UPGRADE_TO_CUMULATIVE_PLAN.md: Added implementation status 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,12 +1,45 @@
|
||||
# Oracle DR - Upgrade to Cumulative Incremental Backup Strategy
|
||||
|
||||
**Generated:** 2025-10-09
|
||||
**Last Updated:** 2025-10-09 19:00
|
||||
**Status:** 🟡 IN PROGRESS - Phases 1-3 COMPLETED
|
||||
**Objective:** Implement cumulative incremental backups with Proxmox host storage for optimal RPO/RTO
|
||||
**Target RPO:** 3-4 hours (vs current 24 hours)
|
||||
**Target RTO:** 12-15 minutes (unchanged)
|
||||
|
||||
---
|
||||
|
||||
## ✅ IMPLEMENTATION STATUS
|
||||
|
||||
### Completed (2025-10-09)
|
||||
- ✅ **Phase 1:** Proxmox host storage configured (`/mnt/pve/oracle-backups/ROA/autobackup`)
|
||||
- ✅ **Phase 2:** RMAN script already has `CUMULATIVE` keyword
|
||||
- ✅ **Phase 3:** Transfer scripts updated to send to Proxmox (10.0.20.202:22, root)
|
||||
- Modified: `transfer_incremental.ps1` and `transfer_to_dr.ps1`
|
||||
- Changed from VM 109 (10.0.20.37:22122) to Proxmox host
|
||||
- Converted Windows PowerShell commands to Linux bash
|
||||
- ✅ **VM 109 cleanup:** Deleted temporary files, old backups (~6.4 GB freed)
|
||||
|
||||
### Pending (Next Session)
|
||||
- ⏳ **SSH Key Setup:** Run `copy_existing_key_to_proxmox.ps1` on PRIMARY as Administrator
|
||||
- Existing key: `C:\Windows\System32\config\systemprofile\.ssh\id_rsa`
|
||||
- Copy to: Proxmox `/root/.ssh/authorized_keys`
|
||||
- ⏳ **Phase 4:** Modify scheduled tasks (13:00 + 18:00)
|
||||
- ⏳ **Phase 5:** Configure mount point on VM 109 (will appear as F:\)
|
||||
- ⏳ **Phase 6:** Update restore script to use F:\ mount
|
||||
- ⏳ **Phase 7:** Test FULL + CUMULATIVE backup and restore
|
||||
|
||||
### Files Modified
|
||||
```
|
||||
oracle/standby-server-scripts/
|
||||
├── transfer_incremental.ps1 [MODIFIED] → Proxmox host
|
||||
├── transfer_to_dr.ps1 [MODIFIED] → Proxmox host
|
||||
├── rman_backup_incremental.txt [ALREADY OK] → Has CUMULATIVE
|
||||
└── copy_existing_key_to_proxmox.ps1 [NEW] → Setup script for SSH key
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📋 EXECUTIVE SUMMARY
|
||||
|
||||
### Current State
|
||||
|
||||
Reference in New Issue
Block a user