#!/bin/bash

find /var/lib/openhab/backups -type f -mtime +3 -delete

/usr/share/openhab/runtime/bin/backup --full