简体   繁体   中英

Sql backup to url - azure blob differential

I have av large dB 250 gb and I have backed up to azure blob using the below...

BACKUP DATABASE [TestDB] TO URL = ' https://cloudspacestorage.blob.core.windows.net/backups/Testdb.bak '
WITH CREDENTIAL = 'Backupcredential', STATS = 10 GO

I now need to do it again is there a way I can do an differential backup eg only the changes since last backup

Thanks

As Larnu said, you can Call the Differential Backups (SQL Server) .

Since you have full backup the database to you Azure Blob Storage with the satatements:

BACKUP DATABASE [TestDB] 
TO URL = 'https://cloudspacestorage.blob.core.windows.net/backups/Testdb.bak'
WITH CREDENTIAL = 'Backupcredential', STATS = 10 GO

And from the SQL Server Backup to URL , the Bcakup to URL support you create the Differential Backups . 在此处输入图片说明

So you can do an differential backup to Azure Blob like this:

BACKUP DATABASE [TestDB] 
TO URL = 'https://cloudspacestorage.blob.core.windows.net/backups/Testdb.bak'
WITH DIFFERENAL 

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM