diff --git a/duplicati-programs/command-line-interface-cli-1/recoverytool.md b/duplicati-programs/command-line-interface-cli-1/recoverytool.md index 7a2eb28..92c5712 100644 --- a/duplicati-programs/command-line-interface-cli-1/recoverytool.md +++ b/duplicati-programs/command-line-interface-cli-1/recoverytool.md @@ -74,9 +74,11 @@ duplicati-recovery-tool recompress zip \ 1. Downloads whole remote storage to the current working folder. 2. Recompress from existing compression type to the chosen compression format. -3. If `--reencrypt` is supplied, again reencrypts using same passphrase (needs to be decrypted for compression type change) +3. If `--reencrypt` is supplied, again reencrypts using **same passphrase** (needs to be decrypted for compression type change). If the `--new-passphrase` option is present, encryption happens using the new passphrase instead (needs to be decrypted for compression type change) `Duplicati.CommandLine.RecoveryTool.exe recompress --reencrypt --passphrase="OLD_passphrase" --new-passphrase="NEW_passphrase"` 4. If `--reupload` is supplied, files with old compression are deleted and recompressed files are uploaded back to remote storage (it is recommended to take at least temporary copy of remote storage before enabling this switch) +**Warning**: If `--new-passphrase` is supplied, do not use '--reupload' but proceed with manual upload to the remote URL. + **Warning**: If `--reupload` is supplied it is advisable to specify `--reencrypt` otherwise the files will be uploaded unencrypted! **Warning**: Before recompress delete the [local database](../../detailed-descriptions/database-and-storage/the-local-database.md) and after recompress recreate local database before executing any operation on backup. This allows Duplicati to read new file names from remote storage.