sql server定時自動備份

1. 啓動sql server代理 2.作業-新建作業-常規-名稱(名稱可以隨便寫) 3.步驟-新建--步驟名稱(隨便寫)-數據庫(選擇要備份的數據庫)-命令 命令裏寫: DECLARE @strPath NVARCHAR(200) set @strPath = convert(NVARCHAR(19),getdate(),120) set @strPath = REPLACE(@strPath,
相關文章
相關標籤/搜索