Skip to content

Instantly share code, notes, and snippets.

@brokendish
Created January 22, 2012 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brokendish/1656705 to your computer and use it in GitHub Desktop.
Save brokendish/1656705 to your computer and use it in GitHub Desktop.
tarでシステムのバックアップオプション指定
tar czvplf /hoge/bkup/vpsBKUP.tar.gz --exclude hoge/bkup/vpsBKUP.tar.gz --exclude /dev --exclude /etc/network --exclude networks --exclude hosts --exclude /boot --exclude /home/swap --exclude /hoge/bkup --exclude /proc --exclude /sys --exclude /var/run --exclude /var/lock --exclude fstab / >bkup.lst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment