How often do I have to do full backups in SQL Server? how often do i have to do differential backups?

How often do I need to do full backups in SQL Server? How often should I do differential backups? How often should I back up transaction logs?

Currently, I make a full backup once a month and differential backups every day, except for this.

+3
source share
5 answers

We perform a full backup once a week on weekends, and then differential backups every night for another 6 days.

+7
source

( , , ). , , , . , .

+9

, , , . , . , , .

+8

, . " ?" : , , .. , 24 :

BACKUP DATABASE test TO DISK = 'd:/test.bak'

6 :

BACKUP DATABASE test TO DISK = 'd:/test_diff.bak' WITH DIFFERENTIAL

( , ):

BACKUP LOG test TO DISK = 'd:/test_log.bak'

+2

For a 100 GB database, we do a full backup every 24 hours, as every authority suggests, but we do a differential backup every 30 minutes. The way you choose a service plan also depends on how your data changes. I know that taking such a decision for deferred backups is excessive, but I think it is a good choice.

0
source

Source: https://habr.com/ru/post/1706528/


All Articles