Welcome to Davide Airaghi's website ! 

In this website you'll find some information about me, some tips&tricks and some software i worked on.

 

Davide Airaghi

Script to monitor backup sets

When self hosting your own backup system it's not that uncommon to have some sort of monitoring system, just to make sure backups are present and exectuted according to the scheduling.

To address this topic I added to my backup hosting server a script that:
- analyze if there are files modified in a specific internal
- use "s-nail" to send email notifications in case of issues

Continue reading...
Davide Airaghi

Borg - server side archives compacter

If you manage backups using Borg Backup you might end up consuming a lot of space on your storage (local and/or remote), even if you have scheduled "borg prune" sessions, you are using deduplication/compression also at file system level, etc. etc. To make room for…

Continue reading...
Davide Airaghi

Docker: Update all the images

If you want to pull and update all the images you have so far downloaded (and are still present on your system) using docker you can execute the following command: for IMAGE in $( LANG=en docker image ls -a --format table | grep -v -E "^REPOSITORY"…

Continue reading...
Davide Airaghi

Docker - ricerca immagine contenente un layer

Può essere utile, dato l'identificativo di un layer, andare a cercare in quali immagini esso è usato. Per questa semplice operazione è possibile utilizzare lo script docker-find-layer-image riportato qui di seguito. #!/bin/bashLAYER=$1if [ "$LAYER" = "" ]; then echo "" echo "Layer not given as…

Continue reading...
Davide Airaghi

Walking Light

Walking in low light situations it may be necessary to make yourself more visible, for this reason a flashing light (with a color of your choice between 3 shades) can be really useful With "Walking Light" you have at your disposal a simple and intuitive…

Continue reading...