Linux Backup and Disk Imaging Cheat Sheet/Show throughput for a pipeline

Add transfer progress to streaming backup pipelines.

Section: Copy and Synchronize

Show throughput for a pipeline

bash
bash
tar -cf - /data | pv | gzip > backup.tar.gz
Explanation

Add transfer progress to streaming backup pipelines.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Copy and Synchronize
Sync a directory over SSH
Efficiently transfer deltas to a remote server.
OpenIn sheetbashsame section
Create a compressed tar archive
Package and compress a directory tree.
OpenIn sheetbashsame section
Compute a checksum for a backup
Record integrity hashes for backup artifacts.
OpenIn sheetbashsame section
Copy a directory tree preserving metadata
Preserve mode, ownership, timestamps, and symlinks.
OpenIn sheetbashsame section
Mirror a directory with rsync
Powerful local or remote copy preserving metadata and ACLs when supported.
OpenIn sheetbashsame section
Mirror and delete removed files
Make the destination match the source exactly.
OpenIn sheetbashsame section