文件名称:tomcat应用文件备份脚本及日志备份脚本的示例代码
文件大小:34KB
文件格式:PDF
更新时间:2024-01-31 05:10:20
c cat echo
下面先给大家介绍tomcat应用文件备份脚本 #!/bin/bash #Back up the entire tomcat8080-dist to the /backup directory backuppath=/mnt/tomcat8080-dist/webapps/ backpath=/backup/backup-tomcat8080-dist/ action=/backup/backup-tomcat8080-dist/ APPNAME=dist BACKUPNAME1=dist BACKUPNAME2=spongod-module-admin BACKUPNAME3=spongod