|
Download ARCHIVE_CREATED.md from ineso22/Mozdef: direct link, hf CLI and curl.
- Browser
- Download file 3.95 kB
-
https://huggingface.co/ineso22/Mozdef/resolve/main/ARCHIVE_CREATED.md
- Command line
-
hf download hf://ineso22/Mozdef/ARCHIVE_CREATED.md
-
curl -L -o ARCHIVE_CREATED.md https://huggingface.co/ineso22/Mozdef/resolve/main/ARCHIVE_CREATED.md
3.95 kB
| # β MozDef RAR Archive Created Successfully | |
| ## π¦ Archive Information | |
| **File:** `/root/mozdef-complete-20260305.rar` | |
| **Size:** **1.3 GB** (compressed) | |
| **Date:** $(date) | |
| --- | |
| ## π Compression Statistics | |
| ### Original Size | |
| - Docker Images: ~4.1 GB (saved as tar) | |
| - Source Code: ~68 MB (compressed) | |
| - Documentation: ~1-2 MB | |
| - **Total Original:** ~4.2 GB | |
| ### Compressed Size | |
| - **Final RAR Archive:** **1.3 GB** | |
| - **Compression Ratio:** ~70% reduction | |
| - **Compression Method:** RAR Maximum (-m5) | |
| --- | |
| ## π Archive Contents | |
| ### 1. Docker Images | |
| - **Location in archive:** `docker-images/mozdef-all-images.tar` | |
| - **Size:** ~4.1 GB (uncompressed) | |
| - **Contents:** All 17 MozDef Docker images | |
| ### 2. Source Code | |
| - **Location in archive:** `source-code/MozDef-source.tar.gz` | |
| - **Size:** ~68 MB (compressed) | |
| - **Contents:** Complete MozDef source code | |
| ### 3. Documentation | |
| - **Location in archive:** `documentation/` | |
| - **Files:** 28 markdown documentation files | |
| - **Includes:** All guides, reports, and documentation | |
| ### 4. README | |
| - **Location in archive:** `README.txt` | |
| - **Contents:** Restoration instructions | |
| --- | |
| ## π₯ Extracting the Archive | |
| ### Extract Complete Archive | |
| ```bash | |
| cd /destination/path | |
| unrar x /root/mozdef-complete-20260305.rar | |
| ``` | |
| ### Extract to Specific Directory | |
| ```bash | |
| unrar x /root/mozdef-complete-20260305.rar /destination/path/ | |
| ``` | |
| ### List Archive Contents | |
| ```bash | |
| unrar l /root/mozdef-complete-20260305.rar | |
| ``` | |
| ### Test Archive Integrity | |
| ```bash | |
| unrar t /root/mozdef-complete-20260305.rar | |
| ``` | |
| --- | |
| ## π Restoring from Archive | |
| ### Step 1: Extract Archive | |
| ```bash | |
| unrar x /root/mozdef-complete-20260305.rar | |
| cd mozdef-archive-20260305/ | |
| ``` | |
| ### Step 2: Load Docker Images | |
| ```bash | |
| docker load -i docker-images/mozdef-all-images.tar | |
| docker images mozdef/* # Verify (should show 17 images) | |
| ``` | |
| ### Step 3: Extract Source Code | |
| ```bash | |
| tar -xzf source-code/MozDef-source.tar.gz -C /root/ | |
| ``` | |
| ### Step 4: Start Services | |
| ```bash | |
| cd /root/MozDef | |
| docker-compose -f docker/compose/docker-compose.yml -p mozdef up -d | |
| ``` | |
| --- | |
| ## β Archive Features | |
| - β **Maximum Compression:** RAR -m5 (best compression) | |
| - β **Recovery Record:** 10% recovery data included | |
| - β **Solid Archive:** Better compression for multiple files | |
| - β **Complete Package:** Everything needed for offline deployment | |
| - β **Verified:** Archive integrity tested | |
| --- | |
| ## π Transferring Archive | |
| ### USB Drive | |
| ```bash | |
| cp /root/mozdef-complete-20260305.rar /mnt/usb/ | |
| ``` | |
| ### Network Transfer (SCP) | |
| ```bash | |
| scp /root/mozdef-complete-20260305.rar user@target:/path/ | |
| ``` | |
| ### Network Transfer (rsync with progress) | |
| ```bash | |
| rsync -avz --progress /root/mozdef-complete-20260305.rar user@target:/path/ | |
| ``` | |
| ### Split for Large Transfers (if needed) | |
| ```bash | |
| # Split into 500MB chunks | |
| split -b 500M mozdef-complete-20260305.rar mozdef-complete-20260305.rar.part | |
| # Reassemble on target: | |
| cat mozdef-complete-20260305.rar.part* > mozdef-complete-20260305.rar | |
| ``` | |
| --- | |
| ## π Size Comparison | |
| | Component | Original | Compressed | Reduction | | |
| |-----------|----------|------------|-----------| | |
| | Docker Images | ~4.1 GB | ~1.0 GB | ~75% | | |
| | Source Code | ~75 MB | ~68 MB | ~10% | | |
| | Documentation | ~2 MB | ~1 MB | ~50% | | |
| | **Total** | **~4.2 GB** | **1.3 GB** | **~70%** | | |
| --- | |
| ## π Verification | |
| ### Check Archive Size | |
| ```bash | |
| ls -lh /root/mozdef-complete-20260305.rar | |
| ``` | |
| ### Test Archive Integrity | |
| ```bash | |
| unrar t /root/mozdef-complete-20260305.rar | |
| ``` | |
| ### List Contents | |
| ```bash | |
| unrar l /root/mozdef-complete-20260305.rar | |
| ``` | |
| --- | |
| ## π Summary | |
| β **Archive Created:** `/root/mozdef-complete-20260305.rar` | |
| β **Size:** 1.3 GB (compressed from ~4.2 GB) | |
| β **Compression:** 70% reduction | |
| β **Method:** RAR Maximum with 10% recovery | |
| β **Contents:** Complete MozDef project + Docker images | |
| β **Status:** Ready for transfer and deployment | |
| --- | |
| **Archive Created:** $(date) | |
| **Status:** β **SUCCESS** | |