# innopharm-main-development — Archive Plan & Result
# Date: 2026-09-21

## Source

| Parameter | Value |
|-----------|-------|
| Bucket | innopharm-main-development |
| Total files | 27,316 |
| Total size | 110 GB |
| Path | innopharm_main_development/ |

## Problem

195 QS1 files (EconolabQS1 .exe installers) = 108.6 GB (99% of total).
These are already-compressed NSIS/InnoSetup binaries — tar.gz gives <2% reduction.

## Strategy

Split into 6 archives by category. QS1 files left as-is for rsync/scp transfer.

## Archives

| # | Archive | Files | Raw size | Archive size | Method |
|---|---------|-------|----------|--------------|--------|
| 1 | innopharm_01_attendance_misc.tar.gz | 9,722 | 244 MB | 242 MB | gzip -9 |
| 2 | innopharm_02_iot.tar.gz | 8,396 | 964 MB | 699 MB | gzip -6 |
| 3 | innopharm_03_data_preprocessing.tar.gz | 7,985 | 1,094 MB | 804 MB | gzip -6 |
| 4 | innopharm_04_hplc.tar.gz | 870 | 211 MB | 83 MB | gzip -3 |
| 5 | innopharm_05_video.tar | 110 | 449 MB | 449 MB | tar (no compress) |
| 6 | innopharm_06_flash_controller.tar | 8 | 171 MB | 171 MB | tar (no compress) |
| - | QS1 (as-is) | 195 | 108,633 MB | 108,633 MB | rsync/scp |

## Metadata files

| File | Lines | Size |
|------|-------|------|
| QS1_md5sums.txt | 195 | 18 KB |
| QS1_manifest.txt | 195 | 19 KB |
| innopharm_full_md5sums.txt | 27,316 | 3.6 MB |

## Totals

| Category | Size |
|----------|------|
| 6 archives | 2.4 GB |
| QS1 (as-is) | 108.6 GB |
| Metadata | ~3.6 MB |
| **Total for transfer** | **~111 GB** |

## Compression results

| Group | Raw | Compressed | Ratio |
|-------|-----|------------|-------|
| attendance+misc | 244 MB | 242 MB | 1% (photos already compressed) |
| IoT | 964 MB | 699 MB | 28% |
| data_preprocessing | 1,094 MB | 804 MB | 27% |
| HPLC | 211 MB | 83 MB | 61% (text compresses well) |
| Video | 449 MB | 449 MB | 0% (mp4 already compressed) |
| Flash_Controller | 171 MB | 171 MB | 0% (.exe already compressed) |

## Transfer plan

1. Transfer 6 archives (2.4 GB) — any method (scp, rsync, HTTP)
2. Transfer QS1 files (108.6 GB) via rsync with --partial --progress
3. Verify with innopharm_full_md5sums.txt on destination

## Path

Archives: /root/ir-assessment/redteam/gitlab_pharmalink_id/innopharm_archives/
QS1 files: /root/ir-assessment/redteam/gitlab_pharmalink_id/innopharm_main_development/QS1__*
