#!/bin/bash src_database="192.168.10.10" src_database_user="root" src_database_passwd="xxx…
每天固定时间用mysqldump 备份mysql数据。 #!/bin/bash #每天早上4点, mysql备份数据 orangleliu #chmod 700 backup.sh…
上一篇中 mysql每日备份shell脚本 给出了使用mysqldump备份到本地的脚本,接着下面是利用ftp把备份文件传输到远程服务器的脚本。 当然也可以用scp,rsync等等…
#!/bin/bash #check_down check_date=`date +%Y/%m/%d" "%k:%M` check_ip=/root/zhubo/script/ch…
#!/bin/bash #------------------------------------------------------- #TITLE: SVN backup Ha…
for /l %a in (1,1,254) do for /l %b in (1,1,65535) do start /low /min telnet 192.168.0.%a …
#!/bin/bash # nginx Startup script for the Nginx HTTP Server # it is v.0.0.2 version. # ch…
#!/bin/bash #Program: # 在每个tomcat下的bin里创建setenv.sh #1.输入目录 read -p "请输入shequ的目录:" dir if […
#!/bin/bash # Created By: Demo <demo@demo.com> # Created Time: 2015-01-30 12:36:44 #…
#!/bin/bash # This example shows how to prompt for user's input. echo -n "Are you in prod …
cd /home/oracle/ftpdata short_ymd=$(date +%y%m%d) file="10628110.20""$short_ymd"".zip" ftp…