Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Schedule

Posted on 2008-10-15
3
Medium Priority
?
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 37

Accepted Solution

by:
momi_sabag earned 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

618 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