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
Solved

SQL server backup full with over 120 incrementals, does each backup have to be restored?

Posted on 2014-11-13
9
164 Views
Last Modified: 2016-10-27
Have a SQL database restored all is well, problem is it restored to the full backup point and there are over 100 incremental backups made to the full backup. I believe each one has to be restore hoping I'm wrong or there is a way to skip and restore the latest incremental back to the database.
0
Comment
Question by:WORKS2011
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 24

Assisted Solution

by:Phillip Burton
Phillip Burton earned 100 total points
ID: 40440461
Do you have any differential backups? If so, restore the latest one of those and then only the incremental backups thereafter.

Otherwise, you have over 100 backups to restore - sorry!
0
 
LVL 22

Accepted Solution

by:
Steve Wales earned 100 total points
ID: 40440782
Unless something has changed in the latest version of SQL Server (doesn't look like it according to the docs), there is no such thing as an "Incremental" backup for SQL Server.

There is a Full Database Backup.
There is a Differential Database Backup (all changes since last full backup)
There is a Transaction Log Backup

In the case you describe above, you should be seeing your 120 backups slowing growing in size as the changes keep coming after that full.

So, you should be able to do the Full, the most recent Differential and then any Transaction Logs to bring it up to as recent as possible.

Books Online can be helpful here too:

Backup and Restore of SQL Server Databases
Create a Differential Database Backup (SQL Server)
Differential Backups (SQL Server)
0
 
LVL 17

Author Comment

by:WORKS2011
ID: 40440853
Very good point, thank you. The Acronis backups are incremental how does this make the restore happen?
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 22

Expert Comment

by:Steve Wales
ID: 40440893
Sorry, I am not familiar with that software.  Looking at their website, they specifically mention an incremental backup for SQL Server - you may want to look at the documentation and see what it says, or see what you can look at in the restore GUI.  We use Dell LiteSpeed - I can prep a restore in the restore GUI and it will show me all the files needed in the restore - does your tool offer that functionality ?
0
 
LVL 23

Assisted Solution

by:Racim BOUDJAKDJI
Racim BOUDJAKDJI earned 200 total points
ID: 40441112
Log back ups are chained and are relative to one another so you in case of log backups you must apply of them using the NORECOVERY for 99 and recovery for the 100th
0
 
LVL 48

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 100 total points
ID: 40442062
Some applications calls Incremental backups to SQL Server Differential backups. That's wrong of course, since SQL Server doesn't has the option for Incremental backups.
I would guess that it's really differential backups and so you'll only need to restore the Full backup and the last Differential backup plus all the transaction log backups until the desired time of restore (STOP AT option).
0
 
LVL 23

Assisted Solution

by:Racim BOUDJAKDJI
Racim BOUDJAKDJI earned 200 total points
ID: 40442106
I agree with Vitor: it's al about third party proprietary terminology and incremental could be differential.  However, I don't see any third party proposing a solution ending up with 100 differential backups which would kill space hence the product itself.  We can safely assume that most third party vendors mean log backups by incremental backups.  Hence a full restore of all backups with STOP AT seems the way to go...

0> Confirm with your vendor that incremental backups=log backups.
1> If incremental=log backups, Find and Restore the full backup in NO RECOVERY mode
2> Restore all incremental/log backups using STOP AT
3> Put the database in RECOVERY

Hope this helps...
0
 
LVL 17

Author Closing Comment

by:WORKS2011
ID: 40486938
thank you
0
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 40487167
Tip: to speed up recovery process in case of a large database, and if you have a spare box somewhere, instead of simply doing you can set up an frequent log shipping process to the spare box.   If loosing a box you can redirect your queries without having to restore anything. (except putting the recover database in RECOVERY mode).  Simply set up an alias on the Active Directory for the DNS and redirect it on will.

Hope this helps.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Three simple tips to quickly and efficiently back up and protect the contents of your PC and Mac®.
Ransomware is a growing menace to anyone using a computer or mobile device. Here are answers to some common questions about this vicious new form of malware.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

856 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