Sample Script for Repository Backup on daily basis
#!/bin/bash
############## Initialization ###########################
LOG=/home/infa/Scripts/logs/infa_rep_backup.log
BACKUP_DAY=`date +"%a"` ## Mon Tue Wed Thu Fri Sat Sun
BACKUP_FILE=$PMRootDir/Backups/rep_infa_qa_backup_$BACKUP_DAY.rep