diff --git a/cgitta-nextcloud-zip-analysis.md b/cgitta-nextcloud-zip-analysis.md new file mode 100644 index 0000000..f2104be --- /dev/null +++ b/cgitta-nextcloud-zip-analysis.md @@ -0,0 +1,64 @@ +# cgitta Nextcloud – Storage Cleanup (Completed 2026-05-09) + +**Starting size:** 418 GB +**Final size:** ~26 GB +**Total freed:** ~392 GB + +--- + +## What Was Done + +### 1. Corrupt / Unreadable Archives — Deleted (82.9 GB) +Both were first-segment-only multi-part zip archives with missing parts — completely unreadable. + +| File | Size | Action | +|------|------|--------| +| `Documents.zip` | 75 GB | Deleted — content already in Documents/ folder | +| `OneDrive-2024-10-31.zip` | 7.9 GB | Deleted — unreadable, content verified elsewhere | + +### 2. Google Takeout Zips — Deleted (75 GB) +8 takeout zip files from Feb 2023 export. Zip 001 (Google Photos/Keep/Drive/Contacts) and Zip 008 (Gmail mbox) were already fully extracted. Zips 002–007 (Google Photos videos) were extracted then deleted. + +All 8 zips removed after confirming extraction. + +### 3. Duplicate Zips — Deleted (~293 MB) +- 9 exact duplicate `(1)`/`(2)` browser re-downloads removed +- `Photos.zip` and `Photos-001.zip` confirmed duplicated in Documents/Photos/ and removed + +### 4. Gmail Backup +- Extracted `gmail-backup.tar.gz` (30 GB tar → 3.1 GB mbox) to `Backup Files/Gmail/` +- Deleted the original tar + +### 5. Google Drive Content Consolidated +- Drive folders from 7 Takeout sub-archives merged into `Documents/Google Drive/` (4.2 GB) +- Duplicate files across takeout extracts deduplicated with fdupes + +### 6. Photos Migrated to Immich (69 GB freed from Nextcloud) +- All 53,299 files (69 GB) from `cgitta/files/Photos/` rsynced to photos VM staging area +- fdupes comparison against Joe's Immich library (`/mnt/immich-photos/photos/joe/`): + - 3,243 files already in Joe's library → deleted + - 1,540 internal duplicates → deleted + - **48,676 unique files (55 GB) → moved to `/mnt/immich-photos/photos/cynthia/`** +- Immich external library rescanned — photos indexed under Cynthia's account +- `Photos/` folder deleted from Nextcloud + +--- + +## Final Nextcloud State (cgitta account) + +| Folder | Size | +|--------|------| +| Documents | 18 GB | +| zip drives (teaching materials) | 2.6 GB | +| Video | 463 MB | +| music | 2.6 MB | +| **Total** | **~26 GB** | + +The `zip drives` folder (~2.6 GB) contains ~100 Teachers Pay Teachers curriculum zips — left intact for Cynthia to review. + +--- + +## Notes +- Nextcloud `occ files:scan` run twice during cleanup — final scan: 1,612 folders / 36,306 files +- Immich external library ID: `54b6419e-eb04-47b0-a5bd-0ecdb52545d7` +- `id_nextcloud` SSH key on `next` VM is now authorized on `photos` VM for future transfers