#!/usr/bin/bash
#hana96g
OUTPUT_DIR='/hana_data/DB_BACKUP/data'

echo "backup dir: $OUTPUT_DIR"

dateStr=`date +"%-m_%1d"`
echo "Date: $dateStr"

cd $OUTPUT_DIR
#udo sshpass -p Wang%2023 scp -P 3045 .bash_history epm@cicdcache.epmtest.cn:/home/leon/hanabackup
sshpass -p Wang%2023 scp -P 3045 vm0_$dateStr* epm@cicdcache.epmtest.cn:/home/leon/hanabackup