[feature suggestion] Automatic sync on creating/modifying snapshots
When reading the documentation for sync (https://docs.turris.cz/geek/schnapps/schnapps/#remote-manipulation-with-snapshots), I got the impression from setting up a remote URL as part of the 'global' configuration that schnapps might automatically keep things in sync when creating/modifying/deleting snapshots.
This isn't currently the case so it'd be great if there was an option to enable this -- or else made the default if a remote URL is configured. I feel this is a sensible default as it would help ensure remote snapshots are always up-to-date (particularly helpful in the case of backups).
I've set up cron
to run schnapps sync
periodically, but given the schedule for schnapps it's fiddly trying to ensure calls to sync
run at the right times.