database backup generator script with MRR