Enable Initialization with Backup for Transactional Publications
Applies to:
SQL Server
To initialize a subscription to a transactional publication from a backup, enable the publication to allow initialization from a backup, and then specify backup information when creating the subscription:
Enable the publication on the Subscription Options page of the Publication Properties - <Publication> dialog box. For more information about accessing this dialog box, see View and Modify Publication Properties.
Specify backup information with the stored procedure sp_addsubscription (Transact-SQL). For more information about the parameters required by sp_addsubscription, see Initialize a Transactional Subscription from a Backup (Replication Transact-SQL Programming).
To enable initialization with a backup
- On the Subscription Options page of the Publication Properties - <Publication> dialog box, select a value of True for the Allow initialization from backup files option.
See Also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho