Mozdef / ARCHIVE_CREATED.md
ineso22's picture
Upload folder using huggingface_hub
7c89ed7 verified

βœ… 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

cd /destination/path
unrar x /root/mozdef-complete-20260305.rar

Extract to Specific Directory

unrar x /root/mozdef-complete-20260305.rar /destination/path/

List Archive Contents

unrar l /root/mozdef-complete-20260305.rar

Test Archive Integrity

unrar t /root/mozdef-complete-20260305.rar

πŸ”„ Restoring from Archive

Step 1: Extract Archive

unrar x /root/mozdef-complete-20260305.rar
cd mozdef-archive-20260305/

Step 2: Load Docker Images

docker load -i docker-images/mozdef-all-images.tar
docker images mozdef/*  # Verify (should show 17 images)

Step 3: Extract Source Code

tar -xzf source-code/MozDef-source.tar.gz -C /root/

Step 4: Start Services

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

cp /root/mozdef-complete-20260305.rar /mnt/usb/

Network Transfer (SCP)

scp /root/mozdef-complete-20260305.rar user@target:/path/

Network Transfer (rsync with progress)

rsync -avz --progress /root/mozdef-complete-20260305.rar user@target:/path/

Split for Large Transfers (if needed)

# 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

ls -lh /root/mozdef-complete-20260305.rar

Test Archive Integrity

unrar t /root/mozdef-complete-20260305.rar

List Contents

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