XBCRYPT(1)
π NAME π
okay so hi bestie π meet xbcrypt, aka the Percona xbcrypt documentation, and she is that girl. To support encryption and decryption of the backups, a whole new tool called xbcrypt got introduced into Percona XtraBackup. she's the glow-up era of your backup game, fr fr β¨
Percona XtraBackup 8.0.28-20 implements the XBCRYPT_ENCRYPTION_KEY environment variable, and she's kind of a big deal. Important tho: that variable is only used in place of the --encrypt_key=name option. So you can use the environment variable or the command line option β either one works. But if you use both? π«’ the command line option takes precedence over the value specified in the environment variable. main character energy, periodt π
This utility has been modeled after xbstream_binary so she can perform encryption and decryption outside of Percona XtraBackup. literally the whole point. and xbcrypt has the following command line options πΈ
β¨ OPTIONS β¨
-d,--decryptβ decrypt data input to output. that's it, that's the vibe π-i,--input=nameβ optional input file. if you don't specify one, input will be read from standard input π-o,--output=nameβ optional output file. if you don't specify one, output will be written to standard output π-a,--encrypt-algo=nameβ the encryption algorithm π§-k,--encrypt-key=nameβ the encryption key π-f,--encrypt-key-file=nameβ the file which contains the encryption key π-s,--encrypt-chunk-size=#β size of the working buffer for encryption, in bytes. the default value is64Kβ¨--encrypt-threads=#β this option specifies the number of worker threads that will be used for parallel encryption/decryption. yes bestie, parallel π π₯-v,--verboseβ display verbose status output. for when you Need To Know Everything π
π AUTHOR π
Percona LLC and/or its affiliates π«Ά
π COPYRIGHT π
2009-2022, Percona LLC and/or its affiliates</purl>
and that's the whole page, bestie! this was Percona XtraBackup, version 8.0, all the way from Jul 06, 2026 πΈ encrypt responsibly, mwah π π¦
π¦ where this page comes from
- arch rolling: xtrabackup 9.7.1_rc1-1 Β· GPL-2.0-only
- ubuntu stonking: percona-xtrabackup 9.7.1~rc1-0ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms