Yet another Automate automatic Backup

by P. Andreas Schmidt, IVE

Version 3 (March 15, 2023)

Download (20 downloads)

Premium

Update
V3: minor improvement replacing findall with slice.
V2: simplified and improved checking for change. Instead of waiting for change in content which occurs with every start/stop of fibre and is just a waste, it directly checks at set time if any flow is modified since last update.

What's different? It will only make a backup when there's a real change in the flows, i.e. not just because a new fibre started (that will also trigger a content change), but also when a flow was deleted or downloaded (since the last modified corresponds to date of download not that the author last changed anything). And even when there's a change the backup is made at a fixed time, not immediately.
It keeps local and gdrive backup, and if set, only keeps max number of them.
It checks first for WiFi connection (not data, so if you want it to use data, too, add/change it yourself, please).

You will have to configure:
1) how many backups to keep in block 22
2) at what time of the day to make the backups in block 3
3) configure your gdrive account in block 82.
4) standard gdrive backup folder is root, you can change that in block 81 (always ending in /).
5) specify local backup folder in block 80. Given will most likely not work.
Sorry if I didn't bother putting in a configuration system.

Bugs, questions, suggestions etc welcome in comments below!