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

My backup keeps growing??? Expand / Collapse
Author
Message
Posted Tuesday, April 2, 2013 8:03 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, October 28, 2014 9:54 AM
Points: 300, Visits: 499
Hi,

I just started doing this and confused why the backup grows by a gig plus a day...

I really don't need incrementals and it's not set as that, its just a backup of helpdesk tickets...

I only want an overwrite every night. I assume its the transaction logs?

I read something about adding INIT?

ANy way this is what I have if anyone see's ssomething odd??

Thanks
Joe

BACKUP DATABASE [servicedesk] TO DISK = N'D:\SQLBackup\servicedesk-nightly.bak' WITH NOFORMAT, NOINIT, NAME = N'servicedesk-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10
GO
Post #1437905
Posted Tuesday, April 2, 2013 8:17 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, November 20, 2014 12:22 PM
Points: 2,125, Visits: 5,544
In your backup command you use the option NOINIT. This instructs the server not to overwrite the backup file, so each day you keep the old backups and then you add the new backup. If you'll change the command and instead on NOINIT you'll specify INIT, it will overwrite the backup on a daily bases instead of adding the new backup to the old one.

Adi


--------------------------------------------------------------
To know how to ask questions and increase the chances of getting asnwers:
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #1437918
Posted Tuesday, April 2, 2013 8:19 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, October 28, 2014 9:54 AM
Points: 300, Visits: 499
Thanks Adi...

WOW I feel dumb!!
Post #1437920
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse