Take a look at node-RED Backup Flow That flow zips up all the necessary files, and uploads them to Dropbox.