BTC: 3B74XpJ12oucMsEgxVbZqwYd6XPgGs8GXt / ETH: 0xae7d573142e3b918cc9d2b0bf35a5f9cb35619e3

Thursday, 13 November 2025

Fast Folder Backup on Ubuntu Using Multicore Compression

Fast Folder Backup on Ubuntu Using Multicore Compression

1️⃣ Install required tools

sudo apt update sudo apt install pigz pv

2️⃣ Run the backup
Go to the folder where you want to save the backup and run:

cd /mnt/c/Server/November sudo tar -cf - www | pv | pigz > www-backup.tar.gz

3️⃣ Quick explanation

  • tar -cf - www → creates an archive of the www folder

  • pv → shows progress and speed

  • pigz → compresses using multiple CPU cores

  • Output: www-backup.tar.gz

  • The original www folder remains intact

4️⃣ Verify the backup

ls -lh www-backup.tar.gz