#!/bin/bash
#Purpose = Backup of BTHAWK Domain
#Created on 15-3-2018
#Author = Dushyant Yadav
#Version 1.0
#START
TIME=`date +%b-%d-%y`            # This Command will add date in Backup File Name.
FILENAME=BTHAWK-$TIME.tar.gz    # Here i define Backup file name format.
SRCDIR=/home/wwwagury/public_html/bthawk                    # Location of Important Data Directory (Source of backup).
DESDIR=/home/wwwagury/public_html/mysqlbkps            # Destination of backup file.
tar -cpzf $DESDIR/$FILENAME $SRCDIR 
#END