Log Shipping in SQL server || Log Shipping Configuration || Ms SQL

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024
  • SQL Server Log shipping allows you to automatically send transaction log backups from a primary database on a primary server instance to one or more secondary databases on separate secondary server instances.
    The transaction log backups are applied to each of the secondary databases individually.
    An optional third server instance, known as the monitor server, records the history and status of backup and restore operations and, optionally, raises alerts if these operations fail to occur as scheduled..
    1. Back up the transaction log at the primary server instance.
    2. Copy the transaction log file to the secondary server instance.
    3. Restore the log backup on the secondary server instance.
    HA and DR : • High Availability and ...
    Find and fix orphan users in SQL server, watch link
    • How to Find and Fix Or...

Комментарии • 75

  • @ramukomera8159
    @ramukomera8159 2 года назад +5

    Sir you are awesome 😘😘😘😘 very clear and neat explanation... You are true ROBIN HOOD. Expecting more videos from you on all HIGH AVAILIBILITY concepts.😍

  • @GENADIKRASTEV
    @GENADIKRASTEV Год назад

    Thank you for the another excellent video Teacher,may you be very healthy and loved

  • @Ganeshay-996
    @Ganeshay-996 2 месяца назад +1

    good job brother and more vdo plz update every topic

  • @deepalidurgawale8488
    @deepalidurgawale8488 3 года назад +3

    Explained very well

  • @ramgurung1038
    @ramgurung1038 Год назад +1

    Thank you Sir, appreciate your detailed explanations

  • @alyssonestevam2813
    @alyssonestevam2813 2 года назад +1

    Thanks for the explanation, it helps me a lot!! 😁😁😁

  • @rolfhchristianeslabra4787
    @rolfhchristianeslabra4787 7 дней назад

    Hi, can we use SQL Service Account instead of Domain Account as Server Agent?

  • @ramadeviremata6947
    @ramadeviremata6947 2 года назад +3

    Bro u didn't explained the .tuf, .wrk file which comes under log shipping concept, please explain those also

    • @righttolearnbk
      @righttolearnbk  2 года назад +1

      Ok. Will explain them in a seperate video

  • @egorkosenkov4476
    @egorkosenkov4476 3 месяца назад

    Thank you very much!!! Trofimovich is going to be satisfied =))))))))))))))))

  • @wesg01
    @wesg01 Год назад

    very good training

  • @thirupathiraot2207
    @thirupathiraot2207 3 года назад

    Please make a complete video on VLDB, backup and migration strategy for this

  • @ItachiUchiha-mm1iv
    @ItachiUchiha-mm1iv 9 месяцев назад

    are the primary and secondary server instance are on the same networks or in different networks?

  • @damamanohar7983
    @damamanohar7983 3 года назад

    Right to Learn @BK your explanation is great, can you pls let me know one thing for AG failover quorum is required or not

    • @righttolearnbk
      @righttolearnbk  3 года назад +1

      Quorum is required but we can also configure file share witness

    • @venkatasuryasaip5239
      @venkatasuryasaip5239 2 года назад +1

      @@righttolearnbkif we have some real time examples also like real time videos it is more helpful for us please look into this

    • @righttolearnbk
      @righttolearnbk  2 года назад +2

      @@venkatasuryasaip5239 Noted.

  • @HariKrishnaForYou
    @HariKrishnaForYou 2 года назад +2

    Can you explain about .tuf & .wrk Files?

  • @ravindra3216
    @ravindra3216 2 года назад

    Video is excellent

  • @Omar.bin.khattab
    @Omar.bin.khattab Год назад

    thanks so much , but how can we implement log shipping between 2 servers not in same domain or network each server on its network , how to make shared folder between them

  • @ayushchourasiya4616
    @ayushchourasiya4616 5 месяцев назад

    How do you get that, machine 2 server name, how do you setup
    ????
    I am not getting that

  • @sqltechzpestechz7053
    @sqltechzpestechz7053 4 месяца назад

    I have one doubt. For ex primary db gets deleted and u restore the secondary db with recovery then after that how to bring the copy db to the primary from where its gets deleted

  • @jeromeswartz1836
    @jeromeswartz1836 9 месяцев назад

    Is this possible when you have a 3rd party tool to backup your DB and Tlogs?

  • @Ganeshay-996
    @Ganeshay-996 2 месяца назад

    how to connect network to linux vm if want sharing like linux

  • @banalasiva5743
    @banalasiva5743 3 года назад

    I having a problem I install virtual machine inside virtual machine I install three servers ok network is keep on disconnecting any solution

  • @ravindra3216
    @ravindra3216 2 года назад

    Pls do one video for all issues of sql server

  • @kallurisaikumar1546
    @kallurisaikumar1546 3 года назад

    Thank you sir

  • @Surekhareddy925
    @Surekhareddy925 3 года назад

    Where from you...can you give classes on ms SQL dba

  • @banalasiva5743
    @banalasiva5743 3 года назад

    After executing cmd in failover secondary log Shipping will be primary but data not reflecting in primary yyu

  • @karthiksv6868
    @karthiksv6868 3 года назад +1

    Could you show us how to configure VirtualBox machines for this Log Shipping setup?

    • @righttolearnbk
      @righttolearnbk  3 года назад +1

      Please watch my previous videos.
      1. Building vm in virtual box.
      ruclips.net/video/6ptALQlgRMI/видео.html
      2. Join computer to a AD
      ruclips.net/video/-TBGVD-zGK8/видео.html

  • @seyma6627
    @seyma6627 Год назад

    Does 'Delete file olders than' option delete only secondary server files?

  • @Preetiwaghmareh
    @Preetiwaghmareh Год назад

    Hello sir can u make video on manual failover of log shipping and manual failover of mirroring

  • @Ingles4allYou
    @Ingles4allYou Год назад

    How to get access to sql server for free for learning purposes to pratice and follow the classes?.

    • @righttolearnbk
      @righttolearnbk  Год назад

      Download Evaluation edition which is free for 6 months or else use developer edition

  • @pavankumargali6109
    @pavankumargali6109 Год назад

    Can you explain how to get Stand-by mode

  • @ayushchourasiya4616
    @ayushchourasiya4616 5 месяцев назад

    Sir, how to get SSMS in virtual machine ????

    • @righttolearnbk
      @righttolearnbk  4 месяца назад

      You have to use drive sharing option in VM settings

  • @jigneshpatel6956
    @jigneshpatel6956 Год назад

    sir if i have 15000 or more databases then log shipping is possible or create any problem. i tried Always On HA but after 700 - 800 database secondary server not synchronized with primary so not working. Log shipping is working?

    • @jacksparrow8654
      @jacksparrow8654 5 месяцев назад

      do you really think in real time use these many of databases in single primary server? architects won't recommend this model my friend. automatic failover is not there in the logshipping. this is used for only few databases having servers only.

  • @MahendraSingh-sw1th
    @MahendraSingh-sw1th 2 года назад

    Awesome

  • @kadirkkkk
    @kadirkkkk Год назад

    5:37 is it secure to start services as administrator or should ve give permission for service accounts to shared folders?

    • @jacksparrow8654
      @jacksparrow8654 6 месяцев назад +2

      yes same doubt for me. there is no need to do that step. tomarrow if adminsitrator balu login if deleted. all logshipping jobs won't work.

    • @kadirkkkk
      @kadirkkkk 6 месяцев назад

      no one should delete administrator account :D@@jacksparrow8654

  • @androidbuzz2369
    @androidbuzz2369 Год назад

    Why their will be a loss of data in log shipping? What is the reason behind this? @righttolearn

  • @ravindupethangoda5125
    @ravindupethangoda5125 Год назад

    Do we need to manually run the backup, copy and restore jobs from SSMS?? Is there any method to automatically run those jobs?

    • @righttolearnbk
      @righttolearnbk  Год назад +1

      It is automatic as you also define schedule during setup. You can also make it manual

    • @ravindupethangoda5125
      @ravindupethangoda5125 Год назад

      @@righttolearnbk Thank you ❤️

  • @shaikbabafakruddeen2412
    @shaikbabafakruddeen2412 3 года назад

    Can you send the fill details of insulation in sql dba

  • @lalsaikatta5407
    @lalsaikatta5407 3 года назад

    Sir one dobut, in primary didn't give the physical file location

    • @righttolearnbk
      @righttolearnbk  3 года назад

      If the backup folder is located in primary then we need to give the physical file location. In my case the backup folder is located in some other machine (other than primary and secondary)

  • @kakarlanagajyothi4089
    @kakarlanagajyothi4089 3 года назад

    In data base properties I can not display Transaction log shipping block.

  • @r.pavithraramalingam8182
    @r.pavithraramalingam8182 2 года назад

    Pls explain about .tuf files

  • @nknk13101992
    @nknk13101992 3 года назад

    Can someone let me know if there is any quick way to re-establish log shipping after primary database is refreshed?
    TIA

    • @righttolearnbk
      @righttolearnbk  3 года назад

      You need to configure reverse log shipping after the primary server is up and running.

  • @chaitanyakrishna4358
    @chaitanyakrishna4358 3 года назад

    Hi BK
    Can you please help me to compress the log file in sql due to this I don’t have enough space in my e drive resulting in slowness in sap system

    • @righttolearnbk
      @righttolearnbk  3 года назад +1

      1. If the database is in full recovery model, take the T-log backup and then shrink the file
      2. If the database is in simple recovery model, directly shrink the log file
      Steps to shrink (Select Database in SSMS > Right click > Tasks > Shrink > Files)

    • @venkatasuryasaip5239
      @venkatasuryasaip5239 2 года назад

      @@righttolearnbk would you please make a video on it

    • @righttolearnbk
      @righttolearnbk  2 года назад +1

      @@venkatasuryasaip5239 sure. Will do

  • @sachindeshmukh7071
    @sachindeshmukh7071 2 года назад

    How many secondary servers we can add in log shipping?

  • @banalasiva5743
    @banalasiva5743 3 года назад

    In failover I insert and deleted primary igot like this msg can u please help

    • @righttolearnbk
      @righttolearnbk  3 года назад

      After failover you have to take tail log backup at primary server and then restore in secondary. Then after you can do reverse log shipping after primary server is up.

    • @banalasiva5743
      @banalasiva5743 3 года назад

      @@righttolearnbk thanks can u please make a video on performance tuning all concepts like index ,cluster non cluster, update statics fragmentation please

    • @righttolearnbk
      @righttolearnbk  3 года назад

      @@banalasiva5743 will do as soon as possible

  • @vijaygoud2414
    @vijaygoud2414 8 месяцев назад

    Where is tuf file

    • @righttolearnbk
      @righttolearnbk  8 месяцев назад

      Please check this video ruclips.net/video/6zI7fqumdVw/видео.html

  • @banalasiva5743
    @banalasiva5743 3 года назад

    Exclusive access could not be obtained because the database is in use

  • @andrewan8855
    @andrewan8855 3 года назад

    given 'everyone' to access the share folders with logs files is a big NO NO for security reason.