Contents

Decrypt Synology Backups in Linux

Scenario

You have access to a folder encrypted by a Synology NAS in Linux and you want to decrypt it (without the Synology). Example: offsite backup of an encrypted Synology folder.

Steps

  1. Install ecryptfs
1
$ sudo apt-get install ecryptfs-utils
  1. Create a mount point
1
sudo mkdir /mnt/synology
  1. Mount the folder Mount the folder and use the password/key from the original encryption on the Synology.
1
2
3
4
5
$ mount -t ecryptfs /path/to/src /mnt/synology_decrypt
# aes
# 32 bytes
# plaintext passthrough - n
# filename encryption - y
Note
The src folder must not be nested inside a folder encrypted using ecryptfs (ex: encrypted Ubuntu home folder).

References