Script to duplicate most recent duplicity backups

Just added a script to github which takes care of duplicating the most recent duplicity backup files.

You can specify the amount of past backups runs. By default the last two full backups and their incrementals are copied, older files are automatically deleted (sliding window of most recent backups).

Use this script to add another level of redunancy in case that the main backup location fails.

The software, i.e. file naming conventions has been tested with duplicity version 0.6.13 (yes I know, quite old).

Continue reading “Script to duplicate most recent duplicity backups”

Grund und Workaround für “task updatdb.mlocat blocked for more than 120s”

Seit einigen Tagen beobachte ich in den Log-Dateien wiederholt Einträge der folgenden Art:

Aug  4 17:19:40 desktop-ubuntu kernel: [22801.032322] INFO: task updatedb.mlocat:7661 blocked for more than 120 seconds.
Aug  4 17:19:40 desktop-ubuntu kernel: [22801.034164] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

Continue reading “Grund und Workaround für “task updatdb.mlocat blocked for more than 120s””

duplicity – Update von 0.6.06 auf 0.6.13 – Was gibts neues?

Die bestehende duplicity-Installtion war schon etwas etwas älter, sodaß ich mich entschloß upzudaten – nicht jedoch ohne voher die alte Version archiviert zu haben, man weiss ja nie…

Kurzfassung: Die ersten beiden Backups nach dem Update liefen ohne Probleme durch.

Sieht man sich das Changelog an, so fallen die folgenden Punkte / Bugfixes auf:

Continue reading “duplicity – Update von 0.6.06 auf 0.6.13 – Was gibts neues?”

Alte duplicity-Versionen archivieren

Arbeitet man mit duplicity, bietet es sich an, alte Software-Stände zu archivieren. Wie Edgar auf der Mailingliste schreibt ist es nämlich keineswegs garantiert, daß neuere Software-Versionen ältere Datenbestände korrekt lesen können:

Also it is not guaranteed, whilst most possible, that new versions will restore 
your old backups. So keep the older version around (just in case). See
http://duply.net/?title=Duply-documentation
under heading TIP, how I manage to keep multiple versions of duplicity.

Continue reading “Alte duplicity-Versionen archivieren”

Warum duplicity für inkrementelle Backups doch Passwörter braucht (Bug)

Duplicity bietet die Möglichkeit Backups mit einem GPG-Public-Key verschlüsselt abzulegen. Das Praktische daran ist, daß das Programm zum reinen Sichern keinen Zugriff auf den Private-Key benötigt. Neben der nur spärlich eingesetzten Email-Verschlüsselung endlich mal eine sinnvolle Anwendung für die GPG-Schlüssel. 🙂

Allerdings hatte ich schon länger das Problem, daß es für inkrementelle Backups trotzdem nach der Passphrase für den privaten Schlüssel gefragt hat (bzw. mit einem Stack-Trace abgestürzt ist). Auch in der aktuellen Version 0.6.06 ist das Problem noch vorhanden.

Continue reading “Warum duplicity für inkrementelle Backups doch Passwörter braucht (Bug)”