将 SQL 服务器事务日志从本地服务器复制到 Azure
Copying SQL Server Transaction Logs from Local Server to Azure
我已经用 Google 搜索了很多,但真的找不到任何东西。我们主系统的 SQL 服务器在本地,不在云端。我想出了如何将每晚 SQL 服务器备份复制到 Azure。我还想在每次滚动时复制事务日志,这样如果我们的服务器死机了,我们有事务日志,可以恢复到那个点并且最多只损失五分钟的工作,而不是一整天。
我真的是 Azure 的新手,才刚刚开始学习。有没有一种简单的方法可以将日志复制到 Azure?可以在 SSMS 中完成吗?有人已经有了他们愿意分享的脚本吗?感谢您提供任何提示!
是的,有SQL Server Backup to Azure Tool
Microsoft SQL Server Backup to Microsoft Azure Tool enables backup to
Azure Blob Storage and encrypts and compresses SQL Server backups
stored locally or in the cloud.
还有 Powershell 选项:
Use PowerShell to Backup Multiple Databases to Windows Azure Blob Storage Service
This topic provides sample scripts that can be used to automate backups to Windows Azure Blob storage service using PowerShell cmdlets. PowerShell support for Backup and Restore to Windows Azure Blob Storage service is introduced in SQL Server 2012 SP1 CU4.
parent article 也为您提供了 TSQL 选项。
我已经用 Google 搜索了很多,但真的找不到任何东西。我们主系统的 SQL 服务器在本地,不在云端。我想出了如何将每晚 SQL 服务器备份复制到 Azure。我还想在每次滚动时复制事务日志,这样如果我们的服务器死机了,我们有事务日志,可以恢复到那个点并且最多只损失五分钟的工作,而不是一整天。
我真的是 Azure 的新手,才刚刚开始学习。有没有一种简单的方法可以将日志复制到 Azure?可以在 SSMS 中完成吗?有人已经有了他们愿意分享的脚本吗?感谢您提供任何提示!
是的,有SQL Server Backup to Azure Tool
Microsoft SQL Server Backup to Microsoft Azure Tool enables backup to Azure Blob Storage and encrypts and compresses SQL Server backups stored locally or in the cloud.
还有 Powershell 选项:
Use PowerShell to Backup Multiple Databases to Windows Azure Blob Storage Service
This topic provides sample scripts that can be used to automate backups to Windows Azure Blob storage service using PowerShell cmdlets. PowerShell support for Backup and Restore to Windows Azure Blob Storage service is introduced in SQL Server 2012 SP1 CU4.
parent article 也为您提供了 TSQL 选项。