bash script for backing up clc db