I need a query that runs every day, and I want the query to make a .bak and name it according to the backup date.
Can someone lead me in the right direction? - Thanks!
BACKUP DATABASE [MYDB] TO DISK = N'D:\SQL backups\SERVER1\12345.bak' WITH NOFORMAT, NOINIT, NAME = N'MYDB-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10
GO