With this plugin you can save files to a backup medium. It was developed as a spinoff of the pimatic-backup plugin. This thread suggested improvements of which I implemented some in this plugin.
The supported media in this release are FTP and Dropbox.
The save of a file is done via an action rule. The medium independent action syntax is
save “[localpath/]filename” [with timestamp] to <SaveFtpDive | SaveDropboxDevice | SaveMailDevice>
For a daily midnight backup at 1:00, of config.json, you need one of the Save devices and the following rule:
When -> its 1:00
Then -> save “config.json” with timestamp to <your FtpOrDropboxOrMail Device>
With this plugin I will replace my dropbox_uploader script.
If you need something like this, please test it and let me know bugs you found and features you miss.
for the DropboxDevice you can select automatic directory creation based on /year/month/day/. That could be handy for date sorted daily save & backup
improved checking if file exists before saving the rule
add saving a file to an email address