bash-based backup & rotation scripts for Linux and OS X