Update mm-scripts.sh
This commit is contained in:
@@ -1196,7 +1196,7 @@ SERVICERESTORE(){
|
||||
fulldate="${full_date[1]}/${full_date[2]}/${full_date[0]} @ ${hr}:${full_date[4]}${ma}"
|
||||
echo -e "[${idsCL[LightCyan]} 1${idsCL[Default]}]${idsCL[White]} ${fulldate} - Full Backup${idsCL[Default]}"
|
||||
|
||||
f=2
|
||||
f=2; declare -a rdates
|
||||
for bakfile in ${BACKUPDIR}/${fcheck}.*.tgz; do
|
||||
fname=${bakfile##*/}
|
||||
fdate=${fname#*.}; fdate=${fdate%.*}
|
||||
@@ -1204,7 +1204,7 @@ SERVICERESTORE(){
|
||||
if [ ${f_date[3]} -gt 12 ]; then hr=`expr ${f_date[3]} - 12`; ma=pm; else hr=${f_date[3]}; ma=am; fi; [ ${hr} -lt 10 ] && hr=" ${hr}"
|
||||
fdate="${f_date[1]}/${f_date[2]}/${f_date[0]} @ ${hr}:${f_date[4]}${ma}"
|
||||
[ $f -lt 10 ] && df=" $f" || df=$f
|
||||
echo -e "[${idsCL[LightCyan]}${df}${idsCL[Default]}]${idsCL[White]} ${fdate} - Incremental Backup${idsCL[Default]}"
|
||||
echo -e "[${idsCL[LightCyan]}${df}${idsCL[Default]}]${idsCL[White]} ${fdate} - Incremental Backup - ${fname}${idsCL[Default]}"
|
||||
|
||||
f=$((f+1))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user