July 28, 2010 at 10:15 pm
HI,
I have created a job in SQL server 2005 to take full backup & in another step it copies the .bak file to different location. I want to append date time in .bak file while taking backup. I want format like this: -
my db name is ict.
format I want is: - test201007291250.bak
dbname/yy/mm/dd/timestamp.bak
Thanks in advance.
July 30, 2010 at 7:35 am
See if this script helps:
http://www.sqlservercentral.com/scripts/backup+restore+recovery/70539/
July 30, 2010 at 9:59 am
The Maintenance Plans available in the SQL Server 2005 does this without the need of writing scripts.
Pradeep Adiga
Blog: sqldbadiaries.com
Twitter: @pradeepadiga
July 30, 2010 at 12:14 pm
LOL 😀
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply