Incremental Backup

  • I am using script to backup database, Is there syntax for incremental backup? Thank you.

    Here is script that I am using:

    BACKUP DATABASE COI

    TO DISK = N'D:\Microsoft SQL server\MSSQL\COIDiff.bak'

    WITH NOINIT , NOUNLOAD , DIFFERENTIAL , NAME = N'COI backup',

    STATS = 10, NOFORMAT

  • Paul,

    Not sure what you mean by "incremental" backup.  A differential backup will backup the part of the database that has changed since the last full backup.

    Greg

    Greg

  • I am runnig Full and Differential backup. But The Boss want to use incremental instant Differential.

     

  • differential backups are not incremental, they each contain all differences since the last full backup.

    If you want to use incremental backups, activate full (or bulk logged) recovery model and use log-backups.

    This way you can perform point in time recovery !

    check "backup log" in books online

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

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

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