Category Archive: Raspberry Pi

EDIT: Prune backups made with Relax and Recover #rear #linux

People keep asking me how I make incremental backups with rear, so I edited my posting about pruning backups with rear and inserted my config.

Prune backups …

If you don’t want to look that up you find my /etc/rear/local.conf below.

BACKUP_PROG_EXCLUDE=( ‘/tmp/*’ ‘/dev/shm/*’ ‘/mnt/*’ ‘/media/*’ $VAR_DIR/output/\* )

I also rsync my backups to an external (Raspberry Pi 1B) server, will post about that later on.

Have fun backing up!

Gimme some more Pi!

Ok, here it is, my brand new Raspberry Pi 2 Model B.

A 900MHz quad-core ARM Cortex-A7 CPU
Like the (Pi 1) Model B+, it also has:

4 USB ports
40 GPIO pins
Full HDMI port
Ethernet port
Combined 3.5mm audio jack and composite video
Camera interface (CSI)
Display interface (DSI)
Micro SD card slot
VideoCore IV 3D graphics core

When I start my project I’ll report. Probably I will test my download station on this one, and check out it’s performance. After that I will try some backup functions with plane rsync, or lftpd, and Bacula DR.


HOWTO: Easy install Raspberry Pi download station.

NOTE: Downloading TV shows and Movies might be illegal, as it is in Germany!!! I used this setup only to see if it works. For free and legal stuff go to

I created a simple script to create a full functioning download station with the Raspberry Pi model B.
I decommissioned my Pi after a long service as media player in my living room because I bought a CuBox-i4Pro which has more power. However, what to do with the Pi? Save power! As it uses only 3 Watts it’s the perfect alternative for my 90-150 Watt PC when it comes to downloading stuff 🙂

Here are the simple steps to install Debian Wheezy, Couchpotato, Sickrage and Sabnzbdplus.

1) Download the image to run on your Pi from here:
2) Create your SD card following these instructions:
3) Login to your Pi using SSH (from Linux CLI: ssh pi@ip-address ie pi@ , password raspberry)
4) You have to change your password (A MUST, don’t be lazy and just DO THAT please!) and timezone and expand the file system (in that order): type sudo -i
Make the changes, exit and wait until the Pi has rebooted, then login again (with your NEW password)
5) Get my installer: wget
6) mv install
7) chmod +x
8) ./
9) If you get the following warning:

WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!

You get to answer this question:

You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'

Type: Yes, do as I say!

10) Sit back and relax until the Pi has rebooted again. Give the Pi 5-10 minutes after reboot to get all services up and running. It isn’t a super fast computer …
11) You can now start to config using a web browser:
Couchpotato: http://ip-address:5050
Sickrage: http://ip-address:8081
Sabnzbdplus: http://ip-address:8080

As always: have fun!
(Some credits go to http://

Install OS-Ticket on Raspberry Pi v2

Another tiny project.

OS-Ticket is open source helpdesk software with ITIL like specs. And I want that to run on my pi, partly just for fun.

I am running the latest Wheezy image on my pi.

Let’s go!

Login to your pi using ssh (putty), then update first.

Now update, this may take a while.

sudo apt-get update
sudo apt-get upgrade

Install mc, for later use.

sudo apt-get install mc

Install a webserver.

sudo apt-get install apache2

Install mysql5 and php5.

sudo apt-get install mysql-server-5.5 php5 php5-mysql php5-gd

Run the installation script for mysql.

sudo mysql_install_db
I will post some info on creating the database and user later on.
Edit: instructions on that can be found on at mginternet

Download OS-Ticket.


Unpack the contents and copy all files in the upload directory to /var/www/ ,browse to http://yourwebserver/setup and follow the instructions.


Get a Rasberry Pi for free!

Unlimited stock, here’s a howto for Linux:

– Open a terminal, you will be in your home directory.
– Create a working directory for the project:

mkdir qemu_rpi
cd qemu_rpi

– Get the software: download the file from and unzip it to the qemu_rpi directory.
– Get the Qemu kernel:


– Install Qemu:

sudo apt-get install qemu-system

– Boot your Raspberry Pi!

qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append “root=/dev/sda2 panic=1” -hda 2012-10-28-wheezy-raspbian.img


You can do this under Windows too, but if you want to do that sort it out yourself 🙂


My Raspberry Pi arrived. Let’s play!

… Oh, wait .. forgot to order some vacation 🙂






First project: Raspberry Pi as thinclient using Citrix Receiver 12.1 and Iceweasel browser:


Now I can use it to work from home!