SlideShare une entreprise Scribd logo
1  sur  7
SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE
1
1. Login to the serverSQLServermanagement studioidentify thesource Db from the list to configure log
shipping. In our case we picked “AA_SURVEY_BACKUP_2016” DB.
2. Right click on theidentifiedDB & click on option properties This option will display all the selected DB
properties.
3. On left hand side of window one must see 9 options. Please click on options (4th
option) to ensure that recovery model
is full to avoid any further issues!
SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE
2
4. In our case, we are using recovery model option. Now, click on transaction log shipping
(option 9). Click the check box to enable this as a primary DB.
5. As we are going to configure backups/Logs at different location, please remove from local disk/s from maintenance
plan option.
6. Right click & click on EDIT option
SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE
3
7. Now, uncheck the box in front of a DB name which will undergo log shippingconfiguration & click OK
8. Now click on backup settings to configure transactional log backup settings
9. Now in this window, mention the network path and backup location on primary box. Depends on requirement specify
delete files timelines & mention by what time alert should reach us in case of no backup occur.
9a) Also, set backup compression. Click on OK.
SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE
4
10. Now, once clicked on OK primary database configuration is done. Now let us configure secondary database. Click on
ADD option
11. In secondary database settings window, click on connect. What is means? From the primary DB we shouldbe able
connect to secondary DB for further configuration
SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE
5
12. Once clicked on connect, one should be able to see authentication window to connect to target. In our case, it is DR
box.
13. Once authenticated, one should be able to see below window with secondary database name. Here we can see three tabs
13a) initialize secondary database
13b) copy files
13c) Restore transactional logs
Let us see each tab
13a) initializesecondary database: Ensure log shippingDB details are correct & click on first radio button. Then
click on restore options and provide thepath
SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE
6
13b) Copy files – mention destination path & also provide by when copied files can be deleted (duration)
13c) Click on NO recovery mode radio button, delay restoring backup duration & provideduration by which system
should alert us ‘IF’ no restoreoccurs within X minutes/hours/days & click OK
14. Now, we all set with configuration. Click on OK to start the process!
SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE
7
15. Here are the Internally steps, process will backup primary DB then restore it to secondary DB. Once done then it will
save the configuration done.
16. If all success, we will see below window which means we are good with configuration. However, go to target location
and check the status of the DBs configured. They status will be under restoring stage.
!!!!END!!!

Contenu connexe

Tendances

DB2UDB_the_Basics Day 5
DB2UDB_the_Basics Day 5DB2UDB_the_Basics Day 5
DB2UDB_the_Basics Day 5
Pranav Prakash
 
DB2UDB_the_Basics Day 7
DB2UDB_the_Basics Day 7DB2UDB_the_Basics Day 7
DB2UDB_the_Basics Day 7
Pranav Prakash
 
Log shippingbestpractices
Log shippingbestpracticesLog shippingbestpractices
Log shippingbestpractices
Antilamps
 
Oracle Flashback Query 3
Oracle Flashback Query 3Oracle Flashback Query 3
Oracle Flashback Query 3
grogers1124
 
Backup and Recovery
Backup and RecoveryBackup and Recovery
Backup and Recovery
Anar Godjaev
 

Tendances (18)

DB2UDB_the_Basics Day 5
DB2UDB_the_Basics Day 5DB2UDB_the_Basics Day 5
DB2UDB_the_Basics Day 5
 
DB2UDB_the_Basics Day 7
DB2UDB_the_Basics Day 7DB2UDB_the_Basics Day 7
DB2UDB_the_Basics Day 7
 
Les 10 Tune Rman
Les 10 Tune RmanLes 10 Tune Rman
Les 10 Tune Rman
 
Log shippingbestpractices
Log shippingbestpracticesLog shippingbestpractices
Log shippingbestpractices
 
Oracle Flashback Query 3
Oracle Flashback Query 3Oracle Flashback Query 3
Oracle Flashback Query 3
 
Les 07 Rman Rec
Les 07 Rman RecLes 07 Rman Rec
Les 07 Rman Rec
 
Understanding NonStop SQLMX SDA and its impact on performance
Understanding NonStop SQLMX SDA and its impact on performanceUnderstanding NonStop SQLMX SDA and its impact on performance
Understanding NonStop SQLMX SDA and its impact on performance
 
Introduction to embedded sql for NonStop SQL
Introduction to embedded sql for NonStop SQLIntroduction to embedded sql for NonStop SQL
Introduction to embedded sql for NonStop SQL
 
DbVisualizer for NonStop SQL
DbVisualizer for NonStop SQLDbVisualizer for NonStop SQL
DbVisualizer for NonStop SQL
 
Columnrename9i
Columnrename9iColumnrename9i
Columnrename9i
 
Pluggable database tutorial 2
Pluggable database tutorial 2Pluggable database tutorial 2
Pluggable database tutorial 2
 
NonStop SQL/MX DBS Explained
NonStop SQL/MX DBS ExplainedNonStop SQL/MX DBS Explained
NonStop SQL/MX DBS Explained
 
Les 06 Perform Rec
Les 06 Perform RecLes 06 Perform Rec
Les 06 Perform Rec
 
Cache management obiee 10g
Cache management obiee 10gCache management obiee 10g
Cache management obiee 10g
 
SQL/MX 3.6 Select for update feature
SQL/MX 3.6 Select for update featureSQL/MX 3.6 Select for update feature
SQL/MX 3.6 Select for update feature
 
Oracle-L11 using Oracle flashback technology-Mazenet solution
Oracle-L11 using  Oracle flashback technology-Mazenet solutionOracle-L11 using  Oracle flashback technology-Mazenet solution
Oracle-L11 using Oracle flashback technology-Mazenet solution
 
Backup and Recovery
Backup and RecoveryBackup and Recovery
Backup and Recovery
 
Understanding DB2 Optimizer
Understanding DB2 OptimizerUnderstanding DB2 Optimizer
Understanding DB2 Optimizer
 

Similaire à Log shipping pdf

Create guaranteed restore point
Create guaranteed restore pointCreate guaranteed restore point
Create guaranteed restore point
Viaggio Italia
 
Constructing Backup Server Using DATA Folder
Constructing Backup Server Using DATA FolderConstructing Backup Server Using DATA Folder
Constructing Backup Server Using DATA Folder
Revolucion
 
Database Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David IzahkDatabase Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David Izahk
sqlserver.co.il
 

Similaire à Log shipping pdf (20)

RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)
 
Oracle backup
Oracle backupOracle backup
Oracle backup
 
Database development connection steps
Database development connection stepsDatabase development connection steps
Database development connection steps
 
Create guaranteed restore point
Create guaranteed restore pointCreate guaranteed restore point
Create guaranteed restore point
 
Oracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard SetupOracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard Setup
 
Installing oracle database 12c as container database with three pluggable dat...
Installing oracle database 12c as container database with three pluggable dat...Installing oracle database 12c as container database with three pluggable dat...
Installing oracle database 12c as container database with three pluggable dat...
 
Constructing Backup Server Using DATA Folder
Constructing Backup Server Using DATA FolderConstructing Backup Server Using DATA Folder
Constructing Backup Server Using DATA Folder
 
2020 New Updated 1Z0-060 Questions and Answers
2020 New Updated 1Z0-060 Questions and Answers2020 New Updated 1Z0-060 Questions and Answers
2020 New Updated 1Z0-060 Questions and Answers
 
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
Data Warehousing (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2015 Ma...
 
Creating a repository using the oracle business intelligence administration tool
Creating a repository using the oracle business intelligence administration toolCreating a repository using the oracle business intelligence administration tool
Creating a repository using the oracle business intelligence administration tool
 
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
Oracle 10g to 11g upgrade on sap(10.2.0.5.0 to 11.2.0.3)
 
Oracle data guard configuration in 12c
Oracle data guard configuration in 12cOracle data guard configuration in 12c
Oracle data guard configuration in 12c
 
A lab tutorial about How you can get started and automate DB12c Multitenant l...
A lab tutorial about How you can get started and automate DB12c Multitenant l...A lab tutorial about How you can get started and automate DB12c Multitenant l...
A lab tutorial about How you can get started and automate DB12c Multitenant l...
 
Labs-Sample
Labs-SampleLabs-Sample
Labs-Sample
 
oracle dba
oracle dbaoracle dba
oracle dba
 
Sql
SqlSql
Sql
 
Database Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David IzahkDatabase Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David Izahk
 
Database upgradation
Database upgradationDatabase upgradation
Database upgradation
 
Oracle 12c - Multitenant Feature
Oracle 12c - Multitenant FeatureOracle 12c - Multitenant Feature
Oracle 12c - Multitenant Feature
 
MDF and LDF in SQL Server
MDF and LDF in SQL ServerMDF and LDF in SQL Server
MDF and LDF in SQL Server
 

Plus de K Kumar Guduru (8)

Oms upgrade from 11.1 to 12.1 by Guduru
Oms upgrade from 11.1 to 12.1 by GuduruOms upgrade from 11.1 to 12.1 by Guduru
Oms upgrade from 11.1 to 12.1 by Guduru
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
 
Database decommission process
Database decommission processDatabase decommission process
Database decommission process
 
Oracle soa suite 12c upgrade types
Oracle soa suite 12c upgrade typesOracle soa suite 12c upgrade types
Oracle soa suite 12c upgrade types
 
Fusion Middleware 12c Upgrade - Standalone server
Fusion Middleware 12c Upgrade - Standalone serverFusion Middleware 12c Upgrade - Standalone server
Fusion Middleware 12c Upgrade - Standalone server
 
Oracle Web logic 12c on docker
Oracle Web logic 12c  on dockerOracle Web logic 12c  on docker
Oracle Web logic 12c on docker
 
Soa bpm standalone_installation
Soa bpm standalone_installationSoa bpm standalone_installation
Soa bpm standalone_installation
 
WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Log shipping pdf

  • 1. SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE 1 1. Login to the serverSQLServermanagement studioidentify thesource Db from the list to configure log shipping. In our case we picked “AA_SURVEY_BACKUP_2016” DB. 2. Right click on theidentifiedDB & click on option properties This option will display all the selected DB properties. 3. On left hand side of window one must see 9 options. Please click on options (4th option) to ensure that recovery model is full to avoid any further issues!
  • 2. SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE 2 4. In our case, we are using recovery model option. Now, click on transaction log shipping (option 9). Click the check box to enable this as a primary DB. 5. As we are going to configure backups/Logs at different location, please remove from local disk/s from maintenance plan option. 6. Right click & click on EDIT option
  • 3. SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE 3 7. Now, uncheck the box in front of a DB name which will undergo log shippingconfiguration & click OK 8. Now click on backup settings to configure transactional log backup settings 9. Now in this window, mention the network path and backup location on primary box. Depends on requirement specify delete files timelines & mention by what time alert should reach us in case of no backup occur. 9a) Also, set backup compression. Click on OK.
  • 4. SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE 4 10. Now, once clicked on OK primary database configuration is done. Now let us configure secondary database. Click on ADD option 11. In secondary database settings window, click on connect. What is means? From the primary DB we shouldbe able connect to secondary DB for further configuration
  • 5. SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE 5 12. Once clicked on connect, one should be able to see authentication window to connect to target. In our case, it is DR box. 13. Once authenticated, one should be able to see below window with secondary database name. Here we can see three tabs 13a) initialize secondary database 13b) copy files 13c) Restore transactional logs Let us see each tab 13a) initializesecondary database: Ensure log shippingDB details are correct & click on first radio button. Then click on restore options and provide thepath
  • 6. SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE 6 13b) Copy files – mention destination path & also provide by when copied files can be deleted (duration) 13c) Click on NO recovery mode radio button, delay restoring backup duration & provideduration by which system should alert us ‘IF’ no restoreoccurs within X minutes/hours/days & click OK 14. Now, we all set with configuration. Click on OK to start the process!
  • 7. SQL SERVER - LOG SHIPPINGCONFIGURATION –‘SOP’ TFA/MIRACLE 7 15. Here are the Internally steps, process will backup primary DB then restore it to secondary DB. Once done then it will save the configuration done. 16. If all success, we will see below window which means we are good with configuration. However, go to target location and check the status of the DBs configured. They status will be under restoring stage. !!!!END!!!