Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Normal Encrypted File (.ppke) Recovery

Configuration

bak.toml:

[restore_encryption]
private_key_file = "C:\\test_key\\ppk.key"

private_key_passphrase_env = "PPKPKPSW"

allow_prompt = true

PreCheckout

Perform application data or database backup pre-checks

ppk decrypt --input "C:\Users\admin\AppData\Local\Temp\backup\peppykeep\test_717_file\test_717_file-bak_20260717_093325.ppke" --extract --output-dir "C:\Users\admin\AppData\Local\Temp\backup\peppykeep\test_mysql_102" --config-home %USERPROFILE%\.peppykeep\conf

When the pre-test is successful, the output is as follows:

=== Dry Run ===
Action  : decrypt
Input   : C:\Users\admin\AppData\Local\Temp\backup\peppykeep\test_717_file\test_717_file-bak_20260717_093325.ppke
Output  : C:\Users\admin\AppData\Local\Temp\backup\peppykeep\test_mysql_102
PrivKey : <configured restore_encryption.private_key_file>
Prompt  : false
Next    : Re-run with --apply to execute.

Recover

Perform application data or database backups

ppk decrypt --input "C:\Users\admin\AppData\Local\Temp\backup\peppykeep\test_717_file\test_717_file-bak_20260717_093325.ppke" --extract --output-dir "C:\Users\admin\AppData\Local\Temp\backup\peppykeep\test_mysql_102" --apply --config-home %USERPROFILE%\.peppykeep\conf

When the pre-test is successful, the output is as follows:

=== Completed ===
Action  : decrypt
Input   : C:\Users\admin\AppData\Local\Temp\backup\peppykeep\test_717_file\test_717_file-bak_20260717_093325.ppke
Output  : C:\Users\admin\AppData\Local\Temp\backup\peppykeep\test_mysql_102
PrivKey : C:\test_key\ppk.key
Status  : Command completed successfully.

Order Details Reference