Hi all,
I have configured the Job scheduler in SQL Server 2008 to take automatic backup in
\Backup folder. But It is storing in some default name. Is it possible to append the date on which the backup was taken along with the time at which the backup is taken.
If anyone knows how to append the date and time information to backup filename in SQL Server 2008, Kindly tell me how to do that?
Thanks in advance.
Regards,
Chandru.
Comments
If you use a SQL Server agent job, you need to do it your self. This is the TSQL code I use to create a name with current date+time in it:
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I got the required output by following the T-Script You have given.
Thank you so much.
Regards,
Chandru.