Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Differential Backup of Database Expand / Collapse
Author
Message
Posted Wednesday, April 21, 2010 6:16 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, July 14, 2014 7:34 AM
Points: 2,819, Visits: 204
Dear all,
I have a database of 1 TB size. I planned to take full backup on sunday and differential backup on each day. But when I tried taking differential backup another day after full backup on sunday it gave me error.

Error:--
Cannot perform a differential backup for database, because a current database backup does not exist. Perform a full database backup by reissuing BACKUP DATABASE, omitting the WITH DIFFERENTIAL option.

I further analyzed the problem on a test database and found that the culprit is SQL Server VSS Writer running while I am taking ntbackup of the database backup file to tape. When I saw backup and restore Report I saw entries with device type 7.

When I stopped SQL Server VSS Writer the problem got resolved.

Now I want your suggestions as I have to implement the same on production server. Is there any problem if I stop SQL VSS Service on Production Server.
Post #907660
Posted Wednesday, April 21, 2010 6:48 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 12:15 AM
Points: 2,837, Visits: 3,957
RakeshRSingh (4/21/2010)
I further analyzed the problem on a test database and found that the culprit is SQL Server VSS Writer running while I am taking ntbackup of the database backup file to tape. When I saw backup and restore Report I saw entries with device type 7.
Something new to me . but have you checked that is FULL backup exist there ? i think it should be there before going for diffrential.


-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done
Post #907684
Posted Wednesday, April 21, 2010 6:24 PM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Friday, July 18, 2014 10:48 AM
Points: 1,935, Visits: 10,956
Did the Sunday full backup complete successfully?


Rob Schripsema
Accelitec, Inc
Post #908243
Posted Wednesday, April 21, 2010 9:26 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, July 14, 2014 7:34 AM
Points: 2,819, Visits: 204
Hi Bhuvnesh/ Rob,

Thanks for your reply, but as I said the full backup is completed successfully.

Post #908288
Posted Monday, June 21, 2010 2:29 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, July 14, 2014 7:34 AM
Points: 2,819, Visits: 204
Dear All,

The problem was resolved by stopping VSS Service and it is running fine on production server.
Post #940150
Posted Tuesday, June 22, 2010 2:50 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 10:28 AM
Points: 2,859, Visits: 3,188
The SQL VSS service can be used for a number of things. Simply having VSS writer active will not in itself cause problems with your backup chain.

One typical use of VSS writer is with disk-based backup agents. You may find your Windows people have included your database in their backup plan. You may even find they are only sending offsite the backup they think they have made, or their DR plan is to only bring back onsite the backups they have made.

You should check with your Windows team if they have any tools that could have used VSS writer to take a backup, why they think they need to do them, and how the backups you take fit in to their DR plan.


Original author: SQL Server FineBuild 1-click install and best practice configuration of SQL Server 2014, 2012, 2008 R2, 2008 and 2005. 28 July 2014: now over 30,000 downloads.
Disclaimer: All information provided is a personal opinion that may not match reality.
Concept: "Pizza Apartheid" - the discrimination that separates those who earn enough in one day to buy a pizza if they want one, from those who can not.
Post #940833
Posted Tuesday, June 22, 2010 10:38 PM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Today @ 4:34 PM
Points: 1,613, Visits: 1,538
As EdVassie said, VSS writer itself is not to blame. This is a known issue with certain backup utilities that use the VSS Writer to create backups. This includes Data Protection Manager. So you probably have something running its own backups of the database causing this issue. Stopping VSS Writer is only going to make that process fail. So you should find out what that process is and stop that or stop doing native backups.



My blog: SQL Soldier
Twitter: @SQLSoldier
My book: Pro SQL Server 2008 Mirroring
Microsoft Certified Master: SQL Server 2008
Principal DBA: Outerwall, Inc.
Also available for consulting: SQL DBA Master
Post #941487
Posted Thursday, June 24, 2010 1:52 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, June 27, 2010 10:39 PM
Points: 9, Visits: 7
Hello Friends......

A differential database backup records only the data that has changed since the last full database backup. This full backup is called the differential base. Differential database backups are smaller and faster than full database backups. This saves backup time at the cost of increased complexity. For large databases, differential backups can occur at shorter intervals than database backups. This reduces the work-loss exposure.

Thanks


web development
Post #942280
Posted Thursday, June 24, 2010 10:02 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Today @ 4:34 PM
Points: 1,613, Visits: 1,538
I think it's pretty obvious that everyone in this thread knows what a differential backup is. Also, differential backups are not always faster than a full backup. In fact, a differential backup could include the whole database.



My blog: SQL Soldier
Twitter: @SQLSoldier
My book: Pro SQL Server 2008 Mirroring
Microsoft Certified Master: SQL Server 2008
Principal DBA: Outerwall, Inc.
Also available for consulting: SQL DBA Master
Post #942555
Posted Monday, July 5, 2010 5:25 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, March 31, 2014 4:12 AM
Points: 159, Visits: 489
here is the link which write the same wording which you have used carolwood.Thanks but pls. share your expierences\ queries rather than the exact copy of sentences for source....

http://msdn.microsoft.com/en-us/library/ms181092.aspx
Post #947473
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse