Declare @DataStr NVARCHAR(200)
set @DataStr = convert(NVARCHAR(19),getdate(),120)
set @DataStr = REPLACE(@DataStr, ':' , '_')
set @DataStr = REPLACE(@DataStr,' ','_')
set @DataStr = REPLACE(@DataStr,'-','_')
set @DataStr = 'E:\DataBaseBak\370501_#_#_'+@DataStr+'.bak'
BACKUP DATABASE [370501] TO DISK = @DataStr WITH NOINIT , NOUNLOAD , NOSKIP , STATS = 10, NOFORMAT