#!/bin/bash #可修改如下参数backup_filename=$(date +%Y%m%d%H%M%S)backup_tmp_dir=/data/backup/ip=10.0.1.182user=rootpasswd=starcordatabse_1=nn_coredatabse_2=nn_cms#备份目录if [ ! -d ${backup_tmp_dir}/cms/db ]; then mkdir -p ${backup_tmp_dir}/cms/dbfiif [ ! -d ${b…