SQL Server Log Shipping -4

Hi,

In this article, I will continue to explain you about Log Shipping technology in SQL Server.

 

 

Read previous article before this.

 

Now perform the necessary configurations for the Secondary Database below.

 

12

 

 

13

 

Perform the necessary configurations for the Secondary Database as follows. Now create the Copy and Restore Job that will copy and transfer the Transaction Log Backups from the Primary Server to the Secondary Server and Restore it to the Standby database.

 

 

14

15

 

 

Create the copy job with Schedule 3 minutes and specify the deletion of the old files older than 15 minutes.

On the Secondary Server, I have specified the path to copy these files as follows.

 

16

 

 

The Restore Job is specified in Schedule as follows.

17

 

In the following step, we determine the mode of our Secondary database. I have set my mode mode to Standby mode. Thus, the Secondary database will be in Read-only mode at intervals that the Restore job is not running and will be available for reporting.

18

 

 

Click on the OK button after entering the required Schedule and Paths for both Copy and Restore jobs.

19

 

 

20

 

the Log Shipping Configuration has been completed successfully . Since the installation is completed successfully, Backup and Restore job will be created in the Primary database and in the Secondary Database. We can see these jobs as follows.

 

 

21

22

 

SQL Server log shipping installation is completed.

Mehmet Salih Deveci

I am Founder of IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress mehmetsalih.deveci@outlook.com.-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  mehmetsalih.deveci@outlook.com a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *