# FellaHost Company Limited
**Project Developers & Software Engineering Specialists**  
**Document Reference:** Section 24 Deliverables for Software Development Team  
**System Designation:** Integrated Clearing, Forwarding & Logistics System (ICFLS)  
**Corporate Entity:** FellaHost Company Limited  
**TIN NO:** 189-723-717 | **B.L.No:** 20000105272  
**Headquarters:** P.O. Box 80079, Dar es Salaam, Tanzania  
**Support Desk:** support@fellahost.co.tz | **Web:** www.fellahost.co.tz  
**System Deployment Host:** `logistics.domain.co.tz` | `api.domain.co.tz`  
**Publication Date:** September 2026 | **Version:** 1.0 (Production Master Engineering Pack)  

---
# 10. Backup, Security and Disaster-Recovery Plan (BCP/DR)

## Executive Overview
The ICFLS Business Continuity Plan (BCP) and Disaster Recovery (DR) policy guarantees high availability, rapid restoration, data immutability, and protection against data loss or cyber threats.

---

## 10.1 Key Metrics
- **Recovery Point Objective (RPO)**: 15 minutes (Database binary logs replicated continuously).
- **Recovery Time Objective (RTO)**: 1 hour (Complete cold-standby restoration).

---

## 10.2 The 3-2-1 Backup Strategy
- **3 Copies of Data**: Primary production MariaDB database, secondary local on-server snapshot, tertiary encrypted remote replication.
- **2 Different Storage Media**: Fast NVMe local storage and remote S3-compatible cloud object repository.
- **1 Copy Off-Site**: Geographic isolation outside the primary data center.

---

## 10.3 Automated Production Daily Backup Script

```bash
#!/bin/bash
# Production Daily Backup Script: /usr/local/bin/icfls_backup.sh
# System: Integrated CF Logistics System (ICFLS)
# Provider: FellaHost Company Limited (TIN NO: 189-723-717)

set -euo pipefail

BACKUP_DIR="/var/backups/icfls"
TIMESTAMP=$(date +"%Y%m%d_%H%M%S")
DB_NAME="icfls_production"
APP_DIR="/var/www/vhosts/fellahost.co.tz/icfls.fellahost.co.tz"

mkdir -p "${BACKUP_DIR}/db" "${BACKUP_DIR}/files"

echo "[$(date)] Starting ICFLS Enterprise Backup..."

# 1. Atomic Database Dump with Extended Inserts
mysqldump --single-transaction --quick --routines --triggers \
  "${DB_NAME}" | gzip > "${BACKUP_DIR}/db/${DB_NAME}_${TIMESTAMP}.sql.gz"

# 2. Archive Document Uploads & Receipts
tar -czf "${BACKUP_DIR}/files/uploads_${TIMESTAMP}.tar.gz" -C "${APP_DIR}/storage/app" public

# 3. Prune Local Backups Older than 30 Days
find "${BACKUP_DIR}" -type f -name "*.gz" -mtime +30 -delete

echo "[$(date)] Backup completed successfully: ${TIMESTAMP}"
```

---

### Regulatory Notice
> **We're Top leading Company Registering under Commercial & Technical ICT Services TIN NO: 189-723-717**  
> *FellaHost Company Limited — Project Developers & Engineering Specialists.*  
> *Confidential & Proprietary Enterprise Asset — All Rights Reserved.*
