bundlewrap/bundles/openhab/files/backup-pre-hook

6 lines
115 B
Text
Raw Normal View History

#!/bin/bash
find /var/lib/openhab/backups -type f -mtime +3 -delete
/usr/share/openhab/runtime/bin/backup --full