Hi! Im a core user and want to crate Backups every night at 3am, but only if
automations.yaml
configuration.yaml
etc. has changed in the last 6 hours / change date < 6 h
I could make a shell script, which can check the last edit and fire a backup through the api
or
create shell sensor which can check the last edit and a automation to trigger a backup
is it possible to do that more elegant with a condition? how can I make a condition to get last edit time/date of a file?
Your suggestions are what I would do to but… I seem to read that you donot want unnecessary backups. I use Duplicati which does incremental ones…just another idea
another solution would be rsync, which is already running. but it is nice to have small packages to fall back on. more control over system states that were error free