DBA Fundamentals - Backups 3 - Setting Up Maintenance Plans

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

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

  • @user-fe8tg6up2g
    @user-fe8tg6up2g Год назад +2

    This guy is great for my low attention span. Thank you so much!

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

    Excellent. Nice combination of good advice and practicality. Good work!

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

    Wonderfully explained. Thanks for the explanation.

  • @Mohammed-yj1zt
    @Mohammed-yj1zt 27 дней назад

    when we should use SQL Agent and when Maintenance plans?
    I'm confuse because of I heard someone says sql agent better than maintenance and he moved to it instead of the maintenance

    • @BrentOzarUnlimited
      @BrentOzarUnlimited  27 дней назад +1

      The person who told you Agent jobs are different than maintanence plans didn't do a good job of explaining. Agent is the thing that handles scheduling. Agent calls maintenance plans AND scripts.

    • @Mohammed-yj1zt
      @Mohammed-yj1zt 26 дней назад

      @@BrentOzarUnlimited thank you so much

  • @YvdB
    @YvdB 6 дней назад

    Can I asume that the azure edition works the same as enterprise edition?

    • @BrentOzarUnlimited
      @BrentOzarUnlimited  6 дней назад

      No, I have a separate class for Running SQL Server in Azure & AWS.

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

    You cover setting up full database backups and log backups but don't mention differential backups. Why?

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

      Because I can't cover every topic in every video. ;-)

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

    Legend

  • @Ренат-ц8ж
    @Ренат-ц8ж 2 года назад

    Thank you!

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

    Thanks Brent!!!

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

    Thanks brent

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

    Good basic guide. At 6:24 you said you didn't like to back up to a local drive and move it to a drive off the server. Yes, I agree, but this way is a bit risky. Why ? I explain with my example. I made backups directly to NAS QNAP and ZYXEL connected to the server using the iSCSI protocol. There were times when the NAS disconnected for various reasons. Then there was a problem with the lack of backup. Personally, I do it as you show, but first on a local drive. If the backup is completed correctly, the next step is to call Execute SQL Server Agent Job Task and in it call the created Jobs with the command (Operating system CmdExec) xcopy /S /C /V /Y D:\BACKUP F:\BACKUP where D: local disk of the server and QNAP mapped as F. I have one more of the same task but I am copying the backup to ZYXEL. In the e-mail notification, I have set that in case of problems with backup, cleaning old files or copying, I get an e-mail. Then I check what the problem is. This way I always have at least one good backup.
    Plus, I do a SNAP every few hours. All the best.

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

      I didn't say iSCSI: I said network shares.

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

      @@BrentOzarUnlimited Ok, I also have a Xtreamer e-TRAYz NAS connected via SMB. This one disappears quite often, so it's not credible to me. So, I prefer local disk first and then NAS.

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

      @@TheMistervac Given that SQL Server Standard Edition costs $2,000 USD per CPU core, most folks use something more reliable. You're not pirating SQL Server, are you?

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

      @@BrentOzarUnlimited I only use licensed software. 😀SQL standard is for 2 cores.

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

      @@TheMistervac Incorrect: the minimum number of cores for licensing is 4. They're sold in 2-packs only so that you can use, say, 6 cores. Read the Microsoft SQL Server licensing guide.

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

    Hallengreen or bust...

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

      Hmmm... who is bust?

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

      @@162900443 Anyone who is not using Halengreen 😉

  • @YvdB
    @YvdB 6 дней назад

    In europe we take 3 week holidays. Should we keep 4 weeks of backups?

    • @BrentOzarUnlimited
      @BrentOzarUnlimited  6 дней назад

      For customized answers based on your own production scenarios, feel free to contact me for consulting.

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

    Thank you!