Fast Folder Backup on Ubuntu Using Multicore Compression
1️⃣ Install required tools
2️⃣ Run the backup
Go to the folder where you want to save the backup and run:
3️⃣ Quick explanation
-
tar -cf - www→ creates an archive of thewwwfolder -
pv→ shows progress and speed -
pigz→ compresses using multiple CPU cores -
Output:
www-backup.tar.gz -
The original
wwwfolder remains intact
4️⃣ Verify the backup
ls -lh www-backup.tar.gz
No comments:
Post a Comment