My backup keeps growing???

  • 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

  • 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/

  • Thanks Adi...

    WOW I feel dumb!!

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply