Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 12th, 2003, 12:13 PM
Registered User
 
Join Date: Jun 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Backup (newbie question)

Hi

I have an SQL database that I need to backup every evening but to different filenames ie Monday.BAK, Tuesday.BAK etc

Does this mean I need to schedule seven backups each to run weekly and specify the backup name accordingly?

Regards
Graham
 
Old June 12th, 2003, 03:54 PM
Authorized User
 
Join Date: Jun 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can write a small procedure to generate the back device name dynamically based on the week and schedule the procedure to run every evening.
 
Old June 13th, 2003, 03:39 AM
Registered User
 
Join Date: Jun 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

Don't know how to do that, probably a little too advanced for me!
Could you point me to any resources that explain or let me have a little more info?

Regards
Graham

Quote:
quote:Originally posted by ram2098
 You can write a small procedure to generate the back device name dynamically based on the week and schedule the procedure to run every evening.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie question peterh Classic ASP Databases 3 January 17th, 2008 12:25 PM
Newbie Question sionfx VS.NET 2002/2003 0 November 16th, 2006 03:32 PM
newbie question Warbird XML 0 May 11th, 2005 08:41 AM
BackUp question acko SQL Server 2000 0 February 23rd, 2004 03:51 AM
Newbie question maccer88 Access 1 October 18th, 2003 05:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.