Re: How to create maintenance plan without Northwind and Pubs
From: Bart Simpson (bartsimpson000_at_yahoo.com)
Date: 03/02/04
- Next message: Satish Balusa: "Re: Day Of The Week"
- Previous message: Jesse Bilsten: "Re: SP Question"
- In reply to: Markku Vainio: "How to create maintenance plan without Northwind and Pubs"
- Next in thread: Markku Vainio: "Re: How to create maintenance plan without Northwind and Pubs"
- Reply: Markku Vainio: "Re: How to create maintenance plan without Northwind and Pubs"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 02 Mar 2004 10:40:34 -0800
Answering on your last paragraph.
You can add one more CmdExec step to the backup job:
if exist c:\backup\pubs*.bak del c:\backup\pubs*.bak
if exist c:\backup\Northwind*.bak del c:\backup\Northwind*.bak
Bart Simpson
On 2 Mar 2004 01:25:24 -0800, google@netti.fi (Markku Vainio) wrote:
>When creating a new database maintenance plan, there are four
>different sets of databases to select:
> o All databases
> o All system databases (master, model, and msdb)
> o All user databases (all databases other than master, model, and
>msdb)
> o These databases ...
>
>I think that the most useful choice would be "All user databases
>(excluding Northwind and Pubs)". But there are no such choice. Why?
>How can I exclude the two demo databases from "user databases"? I know
>I can delete them or mark them offline, but do I have to? I still want
>to use them sometimes and therefor keep online.
>
>So far I have used the "These databases" choice but it's sometimes
>hard to keep track of all new and deleted (and offlined) databases.
>The "All user databases (excluding Northwind and Pubs)" would be a
>perfect solutions.
>
>If I backup all user databases INCLUDING Northwind and Pubs, how can I
>make some kind of trigger to detect a new backup file on disk and
>delete it? The deletion should occur before the file would be written
>to tape.
>
>Markku
- Next message: Satish Balusa: "Re: Day Of The Week"
- Previous message: Jesse Bilsten: "Re: SP Question"
- In reply to: Markku Vainio: "How to create maintenance plan without Northwind and Pubs"
- Next in thread: Markku Vainio: "Re: How to create maintenance plan without Northwind and Pubs"
- Reply: Markku Vainio: "Re: How to create maintenance plan without Northwind and Pubs"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|