You gotta create a Job for MSSQL, but If you know how to do that, and If you don't google it
Change YOURDATABASENAME with your databases nameDECLARE @DATE varchar(100),
@Filelocation varchar(50)
SET @DATE = DATENAME(MONTH,GETDATE()) + '_' + DATENAME(DAY,GETDATE()) + '_' + DATENAME(YYYY,GETDATE()) + '_' + DATENAME(HOUR,GETDATE()) + '_' + DATENAME(MINUTE,GETDATE()) + '_' + DATENAME(SECOND,GETDATE())
SET @FileLocation = 'C:\GunZ\Database\GunZ_'+ @DATE + '_.bak'
BACKUP DATABASE YOURDATABASENAME
TO DISK = @FileLocation
WITH INIT,
STATS
and the File location to where gunz is
Screen:
Credits: me, and google.
Creating a job
http://forum.ragezone.com/f245/how-t...1/#post4901822
Credits to the post creator.





Reply With Quote


