bash script for backing up from various kinds of sources