Problem:
I have an old Synology NAS with some encrypted TimeMachine folders.
These folders have to be moved to my shiny new TrueNAS but preferably without using the slow 1GB network connection.
Solution
„Just“ put one of the HDDs in the Proxmox server where the TrueNAS is running on and mount the directories.
Tidbit 1: Synology makes use of a software RAID and LVM.
Tidbit 2: I have extended my NAS so that there are now 2 logical volumes that create a bigger volume group
- mdadm –assemble –run /dev/md0 /dev/sdi5
- vgchange -ay –activationmode partial
- mdadm –assemble –run /dev/md1 /dev/sdi6
- vgchange -ay –activationmode partial
- mkdir /mnt/vg1000
- vgdisplay (just to know what’s going on)
- mount /dev/vg1000 /mnt/vg1000
- mkdir /mnt/timemachine
- mount -tecryptfs /mnt/vg1000/@TimeMachine@/ /mnt/timemachine
# aes
# 32 bytes
# plaintext passthrough - n
# filename encryption - y
Obviously(?) my drive was /dev/sdi with two interesting (big) partitions (sdi5 and sdi6)
You still need the passphrase for the decryption of the folder and you need the appropriate tools installed
apt install ecryptfs-utils mdadm
Et voilà: /mnt/timemachine will provide the Timemachine folders… (which probably also contain an encrypted TimeMachine backup once again…)
Have fun!
