Skip to content

Instantly share code, notes, and snippets.

@muzhig
Created January 7, 2013 10:46
Show Gist options
  • Save muzhig/4474079 to your computer and use it in GitHub Desktop.
Save muzhig/4474079 to your computer and use it in GitHub Desktop.
OPENSSL
tar -cvpj /path/to/directory | openssl aes-256-cbc -kfile /path/to/enc.key | split -d -b 4000m - backup.tar.bz2.enc.
cat backup.tar.bz2.enc.* | openssl aes-256-cbc -d -kfile /path/to/enc.key | tar xvjf -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment