oVirtBackup: online full-backup tool for oVirt

I wrote the last days a little Tool to get in touch with Python (first time) and solved a little backup problem since I switched from vmware esxi to oVirt.

The Tool creates a full backup and export it to a NFS share (export domain).


  • NFS share which are connected to the ovirt-engine where the backups will be stored


  • Create a snapshot
  • Clone the snapshot into a new VM
  • Delete the snapshot
  • Export the VM to the NFS share
  • Delete the VM


  • It is possible to set the age in days how long the backup should be hold

You can find it on github:


WARNING: Wrong configuration can delete your existent backup !!! Please test it first with a new clean VM !!!

Note: With the current Python API (ovirtsdk) it is not possible to export a snapshot directly to the NFS share so it is necessary to create first a temporary VM

BackupPC broken after upgrade

If you get this error after you installed the latest update:

Error: Unable to connect to BackupPC server

This CGI script (/BackupPC) is unable to connect to the BackupPC server on server port -1.
The error was: unix connect: No such file or directory.
Perhaps the BackupPC server is not running or there is a configuration error. Please report this to your Sys Admin.

Maybe this will help

mkdir /var/run/BackupPC

chown backuppc:backuppc /var/run/BackupPC

systemctl restart backuppc

Android synchronize music over WiFi meets Ruby

I switched the tool now to Ruby which brings the following benefits against the bash version.

  • Much faster in the during file comparison for deletion (Tested with a fileset of 8000 files)
  • You can now sync your USB Stick, for example useful for the car
  • With different configurations it is possible to run multiple instances at the same time and sync all your devices parallel

You find the new version on github: https://github.com/wefixit-AT/AndroidWifiMusicSync

Yandex – The worst search engine

Do you know Opera, yes the browser still exists today.

I came into some troubles with this horrible browser because it uses Yandex as default search engine.
You don’t know what Yandex is, then you are not alone. This tries to be the Russian counterpart to search engines like Google, Bing, and others.

Why I write about Yandex?

This annoying company added one of my websites to there blacklist because the mean it has some malicious code on it, which it sure NOT HAS!!!
OK, that can be no problem lets write Yandex and fix this problem. You thought that will be easy, NO not in Russia. You have to wait many hours until days to get a response from them. After 5 days and only 3 Mails they mean that the homepage is not reachable. Thats funny because the website has since it launch many visitors and is one of my most visited sites!!! I tried also to register to the “webmaster” tools on Yandex where I can’t add the page.

I don’t know which dreadful DNS servers they have in russia 😀 the biggest one have no problems with name resolution.

TO OPERA: Please think about which company you add as your favorite search engine.

I thought Bing is crap but now I know Yandex !!!

Its now time to write to Opera and my ISP to start the game which Yandex will play.


UPDATE: I figured out that Yandex is not able to replicate there DNS servers !!! LOL and77.88.8.1 give the right results. and are two weeks behind the right entries.


BackupPC for workstations

Today I publish my script to do daily backups on a BackupPC Server http://backuppc.sourceforge.net/ on workstations which are not online all the time. BackupPC is normally used to do daily backups from servers, but this is a problem for workstations which are normally offline on backup times like 3:00AM (I heard people sleep during this time (wired)).

Therefore there are some solutions:

  1. Disable automatically backup in BackupPC and make in manually by clicking on the backup button in the webinterface
  2. Turn on the workstations in the night with wake-on-lan and power them off after the backup is done. This was my solution before i wrote this script which is also not so easy for example: whats do you do when somebody is working on the workstation after backup is finished. You can’t turn them off, but you can try 😀
  3. Use my script which can be used in a cronjob to run every minute, add it to the startup script, run it only at a given time and many more

What will the script do?

It starts the backup process on the BackupPC server as a ssh command, checks the backup state, save the last backup time to avoid to often backups and stores a pid so it run as singleton

Preparation for BackupPC:

  • Configure the workstations in BackupPC like a normal server
  • Test the backup
  • Disable the automatically backup “BackupsDisable=1”
  • Done

Where to find the script?

Indeed on github 😉 https://github.com/wefixit-AT/backupPCworkstationScript

I hope this will help others to, comments are welcome

Missing predefs.h during compiling sources

Today I compiled freerdp (www.freerdp.com) from the latest sources to connect to a rdp connection through a rdp-gateway.

Durring compilation I get the following error:

[  0%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/address.c.o
In file included from /usr/include/stdio.h:28:0,
from <folder>/FreeRDP.git/winpr/include/winpr/synch.h:25,
from <folder>/FreeRDP.git/winpr/libwinpr/synch/address.c:24:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory
#include <bits/predefs.h>
compilation terminated.
make[2]: *** [winpr/libwinpr/CMakeFiles/winpr.dir/synch/address.c.o] Error 1
make[1]: *** [winpr/libwinpr/CMakeFiles/winpr.dir/all] Error 2
make: *** [all] Error 2

It was clear that the problem must be anywhere around the libc6 libraries, but where 🙂

Remove and install of libc6-dev, build-essential and gcc-multilib doesn’t help. But after many hourse (no a joke after some minutes) I found it.

Here are the solution (yes it can be so easy):

apt-get install –reinstall libc6-dev

have a nice day

(This was all done under Ubuntu 14.04 amd64)

802.1x Repeater Version 0.2

v0.2 ist fertig, habe den zusätzlichen Router aus v0.1 durch einen besseren WLAN-Stick ersetzt. Es war nicht so einfach einen Stick zu finden der den passenden Chip verwendet um einen AccessPoint zu erstellen. Anschließend noch ein paar Stunden investiert um den Treiber ein wenig zu ändern und am Raspberry Pi kompiliert zu bekommen.

So sieht ihr v0.2:


Nützliche Links:

802.1x Repeater Version 0.1

Bastle seit ein paar Tagen an einer Möglichkeit für einen Repeater für 802.1x Authentifizierung. Leider gibt es im günstigen Bereich keinen WLAN-Repeater. Somit bleibt dieser hohe Verschlüsselung leider nur Firmen vorbehalten, obwohl dies mit extrem geringen kosten einfach umzusetzen ist. Nähere Informationen kann ich gerne anbieten da ich in meinen Netzwerken diese Verschlüsselung überall verwende.

So sieht die erste Variante aus (v0.1):

DSC_6808_scaledVerwende hier einen Raspberry Pi um mich ins WLAN einzuwählen und vorläufig einen Router um dieses dann weiter zu verteilen. Leider gibt es im normalen Handel keinen USB Stick der den Master oder AP Mode kann da ich das ganze sonst mit zwei USB-Sticks lösen hätte können.

Als Finale Lösung plane ich eine Flotte von Raspberry Pi die ein autonomes (+selbstheilendes) Netzwerk erzeugen um auch in alle Bereiche eine ideal Netzwerkverbindung zu gewährleisten.

Falls jemand interessiert ist stelle ich gerne die Geräte überall auf.

Ziel: Plane einen lokalen mini ISP aufzubauen. Im privaten Bereich erhalten seit längerer Zeit meine Nachbarn Internet über meine Leitung, natürlich gratis.

Import der alten Artikel

Im Laufe der nächsten Tage werden alle alten Artikel auf den neuen Blog kopiert.

Neue Artikel folgen kommen natürlich. Also einfach vorbei schauen und/oder den RSS Feed abonieren.