Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

SQL Server database log shipping disaster recovery (Part2)

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

3. Configuration steps:

Master server (A machine) settin

(1) enable Log Shipping Configuration

Right-click the database to configure log transfer-> Tasks- > Ship Transaction Logs...- > Enable this as a primary database in a log shipping configuration tick

(2) Click Backup Setting

Create folders for backup, Network path and local path

How long ago to delete the log file

Warning. How long has no log backup issued a warning?

Backup Job Schedule, set detailed backup time and Sunday

Compression selection, generally choose Compress Backup, can reduce the IO of the network

Secondary server (B machine) settin

(1) in Secondary databases, click Add

(2) Connect to the secondary server

There are three tabs:

Initialize Secondary Database, initialize the secondary server with the full backup of the primary database.

Copy Files, where the primary server log files are backed up.

Restore Transaction Log, restore transaction log option.

Note: multiple secondary servers can be added.

(3) warning server settings (optional)

Through the above steps, the configuration of logshipping is basically completed.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report