cd ..
root@paste:~/Ab_4xLBLv$cat paste
paste://Ab_4xLBLvPUBLIC
public paste

Fast Folder Backup on Ubuntu Using Multicore Compression

103 views569 chars

stdout

Paste content

>_vbnetauto-detected
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 /Server/
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

$ tail -f comments.log

Comments [0]

// no comments yet