Solved

Schedule

Posted on 2008-10-15
3
202 Views
Last Modified: 2010-03-19
How to set the schedule for differential backup so that last differential backup would not be over written
for example
BACKUP DATABASE [Dynamics]
TO  DISK = N'E:\Test BK Diff GP\DYNAMICS_Trn_NewSequentialID().BAK'
WITH  DIFFERENTIAL , NOFORMAT, NOINIT,  
NAME = N'Dynamics-Differential Database Backup',
SKIP, NOREWIND, NOUNLOAD,  STATS = 10
GO

But this command does not work. Its overwritting the prvious differential back. I want to generate the sequence for differential backup like
Diff_BK_1
Diff_BK_2
Diff_BK_3

Thanks
0
Comment
Question by:jconfuzed
3 Comments
 
LVL 37

Accepted Solution

by:
momi_sabag earned 500 total points
ID: 22728472
are you sure the previous backups are overwritten and not appended to each other in the same file?
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to replace WHITESPACE (1 or more spaces) in a field with a SINGLE DASH? 4 36
Query - which index being used? 2 52
sql Audit table 3 66
INSERT DATE FROM STRING COLUMN 18 56
If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question