Encrypted Remote Backup using duplicity

TL;DR

Encrypted remote backup of a Synology NAS using Raspberry Pi and duplicity.

Introduction

My Data is currently stored on a 5 bay Synology NAS running a SHR RAID. All data is periodically backed up to a external hard drive using HyperBackup. This way my data is safe from a RAID failure. BUT what if the data gets mechanically destroyed or a virus encrypts all data on the NAS? An off-site backup solution must be found.

Requirements

  • Off-site backup at low to no cost therefore cloud services are expelled
  • Data transfer over SSH because security
  • Data encryption! I don’t want my data off-site and accessible to everyone
  • SSH enabled on the Synology NAS
  • A domain or IP pointing to your Synology NAS

Continue reading “Encrypted Remote Backup using duplicity”

Zynq with RedPitaya from scratch: Hello PS World

In a previous post we installed the necessary tools to develop applications for the Xilinx Zynq SoC family. In this post we are going to say Hello from the processing system (PS) in the Zynq SoC. As a platform I am using the RedPitaya board. With only 199$ it is the cheapest Xilinx Zynq board on the market. Unfortunately the hardware is not open source, but with the open source software, I could figure out the necessary settings to get this board running.

Continue reading “Zynq with RedPitaya from scratch: Hello PS World”

ownCloud Backup Script

Problem

I am running ownCloud on my Synology NAS for some months now and I am pretty happy how reliable it works. But if in some case my RAID would fail I’d loose all my private data. A periodic backup needed to be set up that backs up all my data in addition to the ownCloud configuration and database.

Solution

A bash script! What else? It somehow built up from a simple copy to a full fledged backup-split-dump-log bash script that I’d like to share with you. The full script is at the bottom of this page. I’d now like to talk about the parameters you should now to use this script on your installation.

Continue reading “ownCloud Backup Script”

Rent your Synology drive using Storjshare with Docker

Time ago, I installed the drive share tool from the blockchain based storj cloud service on my Synology NAS. Therefore I used the community package “debian chroot” to install the storj share (beta) software. Since this, the Storjshare-CLI went through many releases. With debian chroot, the installation was annoying. That was why I decided to use a Docker container to install the recent CLI.

Continue reading “Rent your Synology drive using Storjshare with Docker”

Synology Cloud und Photo Station im Einklang

Die Cloud Station von Synology ermöglicht es einem kinderleicht eine eigene Cloud zu erstellen. So kann schnell einmal die Idee aufkommen, die Fotogallerie auf dem Computer mit der Cloud zu synchronisieren, sei dies als Backup oder einfach damit man von Überall auf seine Alben zugreifen kann. Synology liefert  natürlich auch dafür die passende Applikation. Doch leider stellt man dann schnell fest, dass die beiden Programme nicht auf den selben Ordner zugreifen können, wenn die persönliche Photo Station aktiv ist. Continue reading “Synology Cloud und Photo Station im Einklang”