using Fasterflect; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication2 { // 记录iis日志到s…
这里是批处理命令-----备份的 delete d:\restore\cw_ft.bak delete d:\restore\cw_sd.bak sqlcmd -i "bak.sql" 这是sqlcmd 备份的 :connect . BACKUP DATABASE cw_ft TO DISK = 'd:\restore\cw_ft.bak' WITH INIT go BACKUP DATABASE cw_sd TO DISK = 'd:\restore\cw_sd.bak' WITH…