摘要:
#!/bin/bash RETVAR=0 path=/server/scripts [ ! -d "$path" ] && mkdir $path -p function Usage(){ echo "Usage:$0 argv" return 1}function InstallService() 阅读全文
摘要:
分库备份 #!/bin/sh DBPATH=/server/backup MYUSER=root MYPASS=oldboy123 SOCKET=/data/3306/mysql.sock MYCMD="mysql -u$MYUSER -p$MYPASS -S $SOCKET" MYDUMP="my 阅读全文