linux 下备份 mysql 数据库到阿里云 OSS 问题: 解决: #!/bin/bash -e #使用 ./backupdb.sql db1 DBNAME=$1 echo $DBNAME SQLFILE="/var/"${DBNAME}"_b`date +'%Y%m%d%H%M'`.sql" ZIPFILE="$SQLFILE".zip OSSFILE="oss://bucket111/backupdb/`basename $ZIPFILE`" echo $SQLFILE; echo $ZIPFILE; echo $OSSFILE; mysqldump -h 127.0.0.1 -u root --password=123456 -P 3306 $DBNAME > $SQLFILE zip $ZIPFILE $SQLFILE /opt/ossutil cp $ZIPFILE $OSSFILE rm -f $SQLFILE rm -f $ZIPFILE echo "备份成功" 1234567891011121314151617181920 #!/bin/bash -e#使用 ./backupdb.sql db1 DBNAME=$1echo $DBNAMESQLFILE="/var/"${DBNAME}"_b`date +'%Y%m%d%H%M'`.sql"ZIPFILE="$SQLFILE".zipOSSFILE="oss://bucket111/backupdb/`basename $ZIPFILE`"echo $SQLFILE;echo $ZIPFILE;echo $OSSFILE; mysqldump -h 127.0.0.1 -u root --password=123456 -P 3306 $DBNAME > $SQLFILEzip $ZIPFILE $SQLFILE/opt/ossutil cp $ZIPFILE $OSSFILE rm -f $SQLFILErm -f $ZIPFILE echo "备份成功" … Read More
java.lang.IllegalArgumentException: XML fragments parsed from previous mappers does not contain value for **** 问题: java.lang.IllegalArgumentException: XML fragments p… Read More
aliyun OSS 中的css 报错 *.font cors blocked 问题: html 中引用了 aliyun oss 中的 css , 浏览时有些图标出不来,看浏览器 cons… Read More