Encrypting and decrypting files
This page describes how to work with encrypted files outside of normal operations
Last updated
Was this helpful?
This page describes how to work with encrypted files outside of normal operations
Last updated
Was this helpful?
In normal Duplicati operations, the files at the remote destination should never be handled by anything but Duplicati. Changing the remote files will always result in warnings or errors when Duplicati needs to access those files.
However, in certain exceptional scenarios, it may be required that the file contents are accessed manually.
The files encrypted with the default AES encryption follows the file format, so can be used to decrypt and encrypt these files.
For convenience, Duplicati also ships with a command line binary named that uses the same library that is used by Duplicati. This tool can be used to decrypt the remote volume files with the encryption passphrase, as well as encrypt files.
Files encrypted with can choose one of the many ways, and a general overview of how GPG works can be found in the . When using the default options, Duplicati will use the symmetric mode for GPG. In this mode, you can use this command to decrypt a file:
And similarly, to encrypt a file, you can use:
If you need to switch from GPG to AES, or vice-versa, you can use the to automatically process all files on the storage destination. The recovery tool also supports recompressing or changing the compression method.
If you use this method, make sure to .