Config folder backup to cloud

you mean something like this?

DEST="/mnt/[**mypool**]"; [ -d "$DEST" ] && cp -r /var/db/system/configs-* "$DEST"/ && echo "OK" || echo "KO"

(you can also skip the [ -d "$DEST" ] && if you not interested to this check, also change the output && echo "OK" || echo "KO" as you pref).

I didn’t test it on cron but should work the same if running with root user

2 Likes