Log Shipping and AlwaysOn Availability Groups (SQL Server)
Configuring log shipping on a database that belongs to an AlwaysOn availability group requires the following:
By default the automated backup preference configuration property of an availability group is set to prefer secondary replicas. Before you can configure log shipping on a database that belongs to an availability group, you must set the automated backup preference configuration property of the availability group to the primary replica, and ensure that the primary replica is a candidate for performing backups (that is, that its backup priority is >0). For more information, see Yedekleme (SQL Server) kullanılabilirliği yinelemesi üzerinde yapılandırmak.
You can configure log shipping only on the current primary databases of an availability group.
Configure one or more secondary log shipping databases.
[!NOT]
To use log shipping to prepare secondary databases for an availability group, for each of the primary databases, configure a log shipping secondary database on every server instance that hosts a secondary replica.
After you have created all the secondary databases for the availability group, if you want to perform backups on secondary replicas, you need to re-configure the automated backup preference of the availability group.
Related Tasks
To deploy log shipping
- Log Shipping Deployment (in SQL Server 2008 R2 Books Online)
To create and configure a availability group
Yeni kullanılabilirlik Grubu Sihirbazı (SQL Server Management Studio'yu) kullanma
Yeni durumu Grup iletişim kutusu (SQL Server Management Studio'yu) kullanma
Ekleme ya da değiştirme bir kullanılabilirliği çoğaltma (SQL Server) bitiş noktası URL'sini belirtin
İkincil çoğaltma kullanılabilirliğini grubuna (SQL Server) katılın
El ile bir ikincil veritabanı için bir kullanılabilirlik grubu (SQL Server) hazırlamak
Ikincil bir veritabanı kullanılabilirlik grubuna (SQL Server) katılın
Oluşturmak veya bir kullanılabilirlik grubun dinleyicisi (SQL Server) yapılandırma
To configure backup on availability replicas
Ayrıca bkz.
Kavramlar
AlwaysOn kullanılabilirlik grupları (SQL Server) genel bakış