SQL Server 2012 - How To Backup and Restore

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • This video walks you through how to backup and restore a database in SQL Server 2012.
    askadba.blogspot.com/

Komentáře • 59

  • @pvnpsychosinner
    @pvnpsychosinner Před 9 lety

    wow, you are a LIFE-SAVER bro.. i was struggling to restore a .bak file.. thank you for showing me how to do it.. THANK YOU SO MUCH BRO

  • @ofc1003
    @ofc1003 Před 9 lety

    sir, I enjoy all of your videos on ms sql, these are absolutely perfect...please make more ms sql videos. Thank you and God bless you.

  • @asadzafar9912
    @asadzafar9912 Před 9 lety

    thank you very much! exactly what i was looking for :)

  • @askadba
    @askadba  Před 11 lety

    For an external hard disk, it should have a drive letter assigned to it when it's connected. Just point the backup to that drive. For example, if your external drive is drive D, the command is:
    backup database TestDB1 to disk = 'D:\TestDB.bak'

  • @RanjitSawant96
    @RanjitSawant96 Před 8 lety

    It's very helpful for me. Thanks

  • @AbbasKhan-ud6mr
    @AbbasKhan-ud6mr Před 8 lety

    thank you, this helped me alot

  • @askadba
    @askadba  Před 11 lety

    Sounds like your backup file may be corrupt. Did the backup come from a 2008 R2 server and are you restoring it to 2008 R2?

  • @MyChannel-hi8wk
    @MyChannel-hi8wk Před 3 lety

    Nice and clear video explanation - thank you

  • @snorewak
    @snorewak Před 5 lety +1

    thankyou, very useful, very clear

  • @jagadishb4285
    @jagadishb4285 Před 6 lety

    one of the best video
    thank u

  • @richardbanda2817
    @richardbanda2817 Před 7 lety

    Awesome work bro. . . Thank you . . .

  • @sandyhrk
    @sandyhrk Před 8 lety

    thank you.it is useful for me a lot.

  • @SATOSHI751
    @SATOSHI751 Před 5 lety

    the querys is also restored ???

  • @misterpastorius
    @misterpastorius Před 9 lety

    Thank you so much for this.

  • @020Ranz
    @020Ranz Před 10 lety

    Hi how i do for create a new bd with a backup of other bd

  • @bobwilson100
    @bobwilson100 Před 10 lety

    Thanks for putting this together. I know the backup isn't difficult however I don't have sql server 2012 installed yet so it was nice to see you walk through the steps. Question, can you set your backup to a networked drive? I'm thinking I'll throw a DROBO on the network and place that in a separate building on the same LAN.

  • @nikkuammannaidu
    @nikkuammannaidu Před 6 lety

    How do i restore a .backup file using commands

  • @ashleyn1979
    @ashleyn1979 Před 6 lety

    where did u click ok to start the restore????

  • @fernandomaximotorres
    @fernandomaximotorres Před 5 lety

    Does the label "(Restoring...)" next to database name on Object Explorer, appears also during automatic Backup?? it is very important for me to know every case that label can be shown there. Thanks

  • @yasilvalmeida
    @yasilvalmeida Před 11 lety

    Hi try to do the backup but when I try to restore in another sql server server I get an error

  • @omegapointsingularity6504

    Can I just save this file to, say dropbox, then put it on another computer without any previous databases or access or whatever. And just add it there? I just want to save my database somewhere. How?

  • @geojohnson7608
    @geojohnson7608 Před 8 lety

    I am trying to figure out how to move SCCM 2012 db files to another drive on the same server. has anyone seen any tutorials on this?

  • @fawad0301
    @fawad0301 Před 7 lety

    Thanks it was helpful....

  • @resistance7326
    @resistance7326 Před 3 lety

    Thankyou very much! extremely useful.

  • @jeannotm.ngweji9655
    @jeannotm.ngweji9655 Před 3 lety +1

    Simple and Straight to the point. Cool Stuff. #iLikeIt

  • @nadivideo
    @nadivideo Před 6 lety

    Thank you this video!

  • @javielitostanley7040
    @javielitostanley7040 Před 8 lety

    Awesome video!!! :D Thanks!!! :D

  • @samirsalimkhanov3554
    @samirsalimkhanov3554 Před 7 lety

    Thank you so much from Baku

  • @SuperKoda92
    @SuperKoda92 Před 11 lety

    hi, i tried to restore one backup put i got this error:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Express.ConnectionInfo)
    ADDITIONAL INFORMATION:
    The media family on device 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\Sports Management (2).bak' is incorrectly formed. SQL Server cannot process this media family.
    RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3241)
    pls help!!

  • @engineersguild8889
    @engineersguild8889 Před 3 lety

    Great Help 👍

  • @zazzledelacruz6036
    @zazzledelacruz6036 Před 10 lety +1

    I don't get an OK or RESTORE button. Mine just says VERIFY BACKUP MEDIA or something like that. Can only do a verify media operation, but can't restore.

    • @zazzledelacruz6036
      @zazzledelacruz6036 Před 10 lety +2

      ***** I found my solution. My screen resolution was too low and the OK and RESTORE buttons were out of view off the bottom of the screen. Try increasing your screen resolution and the buttons will be visible.

    • @nguyenduyen8719
      @nguyenduyen8719 Před 6 lety +1

      thank you

  • @viviandsouza2660
    @viviandsouza2660 Před 8 lety

    thank u buddy... so much..

  • @Tolgaaizmir1
    @Tolgaaizmir1 Před 11 lety

    great video thank you very much

  • @hanadijoueidi3308
    @hanadijoueidi3308 Před 5 lety

    the option transaction log in backup type is missing for some of our databases
    any help please

    • @ShreyaGupta25
      @ShreyaGupta25 Před 5 lety

      Your database Recovery model must be Simple.

  • @kolcica21
    @kolcica21 Před 5 lety

    Very helpful

  • @rajpalkaur2723
    @rajpalkaur2723 Před 2 lety

    Hlo sir i have problem in sql assignment i wanna make the assignment can you do it for me i can pay for that

  • @kiki1299able
    @kiki1299able Před 7 lety

    very helpful. cool

  • @ijazkhan-mq4jy
    @ijazkhan-mq4jy Před 2 lety

    Thanks for help

  • @davidgomez9674
    @davidgomez9674 Před 3 lety

    Thanks...this just saved my ass

  • @jahanzaibshahid07
    @jahanzaibshahid07 Před 5 lety

    it can't restore stored procedures

  • @mohamadbakko3371
    @mohamadbakko3371 Před 3 lety

    Zor spas

  • @suldaansaid9079
    @suldaansaid9079 Před 5 lety

    Thanks 👏🏻👏🏻👏🏻👏🏻

  • @alemcodon
    @alemcodon Před 8 lety +1

    in this video, we will start by saying 'in this video' like we do in every in this video :)

  • @amg4616
    @amg4616 Před 4 lety

    What about the Restore Option, which one to select, ‘Restore With Recovery’ or ‘Restore With No Recovery’

  • @MuratAtasoy
    @MuratAtasoy Před 8 lety

    Thanks

  • @meegiemashru5380
    @meegiemashru5380 Před 5 lety

    Wow it's very easy

  • @MHmodAMeerV
    @MHmodAMeerV Před 3 lety

    thanks

  • @dazyparker1988
    @dazyparker1988 Před 6 lety

    The .MDF file and .BAK files were Corrupt and, we fixed the backup file by SQL backup recovery software. This backup recovery software is the part of Stellar SQL database Toolkit. by this incident, we learnt to maintain the backup of the database. More details about the toolkit is available here: www.stellarinfo.com/sql-database-toolkit.php

    • @aronchappel1680
      @aronchappel1680 Před 5 lety

      Hi Miss Parker, Good to know that the software fixed your problem. I am SQL database administrator having 15 years of experience. Well, in my position, the organisation do not expect any mistake for the database and its related things. We maintained the proper backup plan and fixed the corruption so many times without any software. This time, your mentioned software saved my job. We repaired our company’s database with the help of it. So, thanks for sharing it.

    • @seansmith3791
      @seansmith3791 Před 5 lety

      Hello Dazy, Stellar's SQL recovery software also worked for me.

  • @Spinaci-Industry
    @Spinaci-Industry Před 7 lety

    t h a n k y o u !!!

  • @SydurRahman21
    @SydurRahman21 Před 9 lety

    Disgusting!!! I want to know about restoring in existing database without change database name!!!

  • @thushanchathuranga6694

    Thanks