Skip to content

Instantly share code, notes, and snippets.

@cd01
Created March 9, 2021 05:33
Show Gist options
  • Save cd01/0a405193b07cf42d43874993cd2a1034 to your computer and use it in GitHub Desktop.
Save cd01/0a405193b07cf42d43874993cd2a1034 to your computer and use it in GitHub Desktop.
XZ_OPT=-9e ionice -c 2 -n 7 nice -n 19 tar Jcvf - /path/to/backup_dir | pv -L 256k >/path/to/backup_`date +%Y%m%d%H%M%S`.tar.xz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment