Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

size of differential backups to big

Status
Not open for further replies.

johnhugh

Technical User
Mar 24, 2010
702
SG
Hello,

I'm working on SQL Server Standard 2005.
My database is 4.5GB. I do a full backup which comes to a backup file of 2GB. If I do a differential backup immediately after my full backup my differetnial backup file is still 1.5GB.
I would expect the differential backup file to only be a couple of MB since nothing has changed.
What can I do to reduce the size of my differential backup file?
Recovery model is set to full.

 
First, why are you doing a differential right after you did a full backup? It's not necessary.

Second, did anything run on the database in between the two backups? A huge update? Maintenance job (such as reindexing)? You could have uncommitted transactions left after your full backup which are then 'picked up' by the differential.

-SQLBill

The following is part of my signature block and is only intended to be informational.
Posting advice: FAQ481-4875
 
Hi,

I ran the diff backup right after a full backup to show that the size of the diff backup does not seem to depend on when the full backup was run.

Nothing ran on the database in between the 2 backups.
 
Anyone else?
Really appreciate your help.
 
What flags/options are you using on the backup command? Diff command?
 
Hi Ramam,

I configure my backups in the management studio.

The scrip it give sme is this for my full backups:
Code:
BACKUP DATABASE [sfbdat] TO  DISK = N'C:\temp\Backup\full.bak' WITH NOFORMAT, INIT, SKIP, NOREWIND, NOUNLOAD,  STATS = 10

And my differential backups are done like this:
Code:
BACKUP DATABASE [sfbdat] TO  DISK = N'C:\temp\Backup\diff.bak' WITH  DIFFERENTIAL , NOFORMAT, INIT, SKIP, NOREWIND, NOUNLOAD,  STATS = 10
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top