linux

2018

duplicity - Backblaze

Configure duplicity-backup.sh to backup to backblaze as well as other cloud services (parallel).

3 min read

duplicity - multi-site backup

Configure duplicity to backup to multiple remote sites at once using the multi backend handler.

5 min read

dupicity backup - Dropbox

Setting up and configuring duplicity and duplicity-backup.sh with Dropbox, step by step.

5 min read

New Notebook

My route to choose a new Notebook, considerations and decision criteria

4 min read

2017

Check if shell-script is runing with root permissions (or with sudo)

Some scripts need to run as root (iptables for temporary rules, installer scripts, …). A quick way to check if the shell-script is running as root or with sudo (sudo should be the preferred way) is as follows. if [ ! ${EUID} -eq 0 ]; then echo "Please run as root or with sudo" exit fi this has been tested tested on debian-based and arch-linux, but should also work on most other linux derivates.

1 min read