Oracle Database Backup and Recovery Session 1

Sdílet
Vložit
  • čas přidán 30. 06. 2024
  • #Backup and recovery is to protect the database against data loss and reconstruct the #database after data loss. Backup has been splitted into two methods: Physical backup - Physical backup is a backup of the physical files used in storing and recovering your database. Such as datafiles, control files, archived redo log files. Logical backup - Logical backup is exporting the logical data (table,tablespace,schemas) from a database with an #Oracle export utility and stored in a binary file.
    0:00 Intro
    2:57 Agenda
    4:32 Introduction to Backup
    14:48 Backup and Recovery Rules
    24:12 What to Backup?
    30:41 Cold Database backup
    41:41 Cold Database Recovery
    1:43:10 Types of Backup
    1:52:27 Recovery Methodology
    1:53:29 Hot Database Backup
    1:59:08 Hot Database Recovery
    Website: www.dbagenesis.com/
    Facebook: / dbagenesis
    Instagram: / dbagenesis
    Twitter: / dbagenesis

Komentáře • 134

  • @stanleyismaillar8112
    @stanleyismaillar8112 Před 7 lety +8

    Best User-Managed Backup on CZcams...Very well explained and good demonstration of recovering from different failure simulations.

  • @deezeela
    @deezeela Před 6 měsíci

    thanks so much for preparing such comprehensive backup and reovery materials!, very detail orientated and clear!

  • @honeyjain4694
    @honeyjain4694 Před 2 lety +1

    Sir, aapne jaane anjaane mein un logoo ki help kari hai jo afford ni karskate ...... no words to say thanks to you.....Bhagvaan aapko lambi umar de

  • @robertmugerwa6492
    @robertmugerwa6492 Před 3 lety +1

    A beautifull presentation and has well represented the concepts about restore and recovery backup

  • @jq747
    @jq747 Před 6 lety +29

    You Indian guys make the best teachers =)

  • @vinishamathur7639
    @vinishamathur7639 Před 9 lety +1

    Hey Arun You explain all the things very properly, Thank u so much .

  • @vasilijzajcev7579
    @vasilijzajcev7579 Před rokem +1

    Even in 2023 still very usefull. Thank you very much for clear explanation and simple examples.

  • @sraz9952
    @sraz9952 Před 8 lety +2

    The best,well explained video on backup and recover on the you tube.
    great job. thanks

  • @AbhishekMishra-gr5zk
    @AbhishekMishra-gr5zk Před 5 měsíci +1

    What a brilliant explanation sir🎉🎉

  • @deepakjuneja7836
    @deepakjuneja7836 Před 7 lety +2

    Wonderful Really appreciated Sir

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

    Thanks, Arun for this beautifully and easily understand video for backup and recovery hope you will come with other topic related to Oracle database and guide all of us in the same way as you did it in this video, Thanks once again it helps me a lot for clearing my doubts.

  • @abdulgani-iq9bg
    @abdulgani-iq9bg Před 3 lety +1

    your explanation is awesome. simple and clear explanation.

  • @paikmanoj
    @paikmanoj Před 4 lety +3

    Good learning for beginners!! Watched it at 1.5x Speed

    • @shivanshu2202
      @shivanshu2202 Před 2 lety +1

      this suggestion is great!!! as the video is close to 3 hours long, but i watched it in 1.25, it is more understandable

  • @MrSanyabandaru
    @MrSanyabandaru Před 6 lety

    Appreciate your awesome explanation.... :)

  • @shivanshu2202
    @shivanshu2202 Před 2 lety +1

    great video buddy !!

  • @smartsriram6234
    @smartsriram6234 Před 7 lety +4

    Great explanation, thank you very much.

  • @simmisahay2518
    @simmisahay2518 Před 8 lety

    Very well explained.

  • @sufaldas8045
    @sufaldas8045 Před 6 lety

    Grate job. Carry on.

  • @rajivshivaraman6476
    @rajivshivaraman6476 Před 4 lety +1

    Thank you so much Arun.... :)

  • @tapankumarhome6711
    @tapankumarhome6711 Před rokem +1

    Nicely discussed and explained

  • @ziadfawzi
    @ziadfawzi Před 6 lety

    Thank you.

  • @VijayKumar-ie1ed
    @VijayKumar-ie1ed Před 9 lety +6

    can you upload the basics of sga,pga,log files,contolfiles,tablespaces and datafiles.

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

    It's really useful Arun
    Thanks a lot

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

    Nice video =))

  • @rajeevverma6234
    @rajeevverma6234 Před 3 lety

    Awesome tutorial sir, learned lots of things. I've recovered the db but there is no user and table which was created after taking the hot backup.. is there anything missing?

  • @mohammedwahid2316
    @mohammedwahid2316 Před 6 lety

    very good Thanks

  • @ocptechnology
    @ocptechnology Před 5 lety +2

    Nice efforts bro keep it up.

  • @pratimavarshney239
    @pratimavarshney239 Před 6 lety

    Nice explanation ..

  • @themontychannel4981
    @themontychannel4981 Před 6 lety +2

    In hot backup with the first scenario of data file loss,
    - You did first begin backup
    - Copy data and control file
    - Copy archive
    - Then end backup
    - Then switch achive and copied single file.
    In Hot backup with second scenario of data and control file loss,
    - You have begin backup
    - copied data and control files
    - NO Archive copied
    - End backup mode
    - Then switch achive.
    - Copied all archive logs.
    i got confused.
    Secondly, question?
    if i take backup of data control file once and then every time only archive logs, Will it be ok?

  • @vinayakbudapanahalli192

    I have a query
    Scenario - your DB is running on archive log enabled status.
    - You have taken the back up of all files(data, spfile, control, and archive) on Mar-1 at 00:00 am to the backup location.
    then on March 4-5, you DB gets crashed along with recent archive logs(which are generated after Mar-1st).
    Can we still be able to recover the data using the archive log files which are generated after March-1 00:00 am? I mean to the most recent state of the DB along with the transaction happened on Mar-2-3-4-5 till the DB got crashed?

  • @saveUyghurs
    @saveUyghurs Před 3 lety +3

    Great instruction! Could you please include timestamps in the description box for the different topics covered, thanks

    • @dbagenesis
      @dbagenesis  Před 3 lety +1

      Not soon but for sure, will do it very soon!

  • @syedarshad6055
    @syedarshad6055 Před 4 lety +1

    Good

  • @sribalaje
    @sribalaje Před 4 lety

    Hi ,
    Articulated beautifully.One Query.. If control file is lost i.e, I have only two days before backup control file..In tat case, when we recover the database, will we b able to recover only two days before data since control file backup v have right now is 2 days before one. Please clarify.

  • @wahidansari4897
    @wahidansari4897 Před 4 lety +1

    Great explanation 👌
    I want these ppt

  • @ahmadkaremm3921
    @ahmadkaremm3921 Před 5 lety

    hi dear please i want to ask u the rman take the backup of database autmaticly daily or we must create batch file from rman commands and put it in the crontab to make this back every day or every week etc ?

  • @nabrcnatureaquaculturebiof4172

    Supb briefing

  • @ashish210881
    @ashish210881 Před 8 lety

    when you simulate recovery ...start the DB without restoring file so it will show error msg... it will be good understanding....

  • @krashandoify
    @krashandoify Před 7 lety +1

    hello guys , i suggest giving an overview location of oracle control files, data files, ,fast recovery area locations on disks

  • @amitshinde9724
    @amitshinde9724 Před 6 lety

    sir,you created user but you are not connected to that user while in creating tables ,you use sys user...
    otherwise this video is very helpful for us
    thank you so much
    and add mode video with different scenario and concept...

  • @nikunjsakaria5834
    @nikunjsakaria5834 Před 7 lety

    This video is really Helpful..Thanks a lot...
    What command we will fire if Control Files are lost ?

  • @user-vu1tn1jc3b
    @user-vu1tn1jc3b Před 8 lety +1

    what are the hourly, daily, weekly routine tasks/activities pertaining DB from your practical experience?
    what questions would you pose a potential DBA in the hiring process?

    • @dbagenesis
      @dbagenesis  Před 8 lety +2

      +Aman Tesfaldet There are two prospective for a DBA job. One is support project and one is development. If you are going for an established project, it is most likely that you will join a support project.
      HOURLY TASKS: There is nothing called as hourly tasks. Mostly you react to alerts (if any) in a database.
      DAILY TASKS:
      - DB Health checks
      - DB Monitoring
      - Performance tuning
      - Daily backups (can be incremental backups)
      - Any scheduled jobs form application team
      - User management (lock, unlock users)
      - Tablespace management (add space)
      - DR Sync issues (if any) or at least make sure DR is in full sync with prod
      - DB Lock resolution or deadlock reporting to application team
      WEEKLY TASKS:
      - DB Cloning
      - DB Refreshes
      - Applying patches (if needed)
      - DB Upgrades (if needed)
      - Index rebuilding
      - DB Bounce (for any parameter changes or other activities which needs DB bounce)
      - Mock DR Trial (performing manual switch over to test your DR can act as PROD in case of disaster)
      The list goes on and depends from project to project.

    • @user-vu1tn1jc3b
      @user-vu1tn1jc3b Před 8 lety

      Thanks for the info. This is valuable information, so that one understands what to expect. But when you refer to "DR", is that disaster recovery DB that should always be in parallel with Prod? Am I correct?

  • @blessiousphiri3109
    @blessiousphiri3109 Před 4 lety +1

    Hello am a DBA
    I would like to ask if you guys offer Oracle DBA Certifications and at what price and what is the duration?

  • @gotchihaeyo1825
    @gotchihaeyo1825 Před rokem

    Hi, are you still here? 😁
    All files were removed, but @1:32:23, how are you able to query and see the locations of spfile and control files?? Aren't those supposed to be gone too? Thanks 👍

  • @abdulqudoos7501
    @abdulqudoos7501 Před 7 měsíci

    Sir can we perform complete recovery in cold backup? If no why DBA run database in archive mode?

  • @veerareddy6723
    @veerareddy6723 Před 7 lety +1

    Please provide the some more details about RMAN backup and recovery in different server.

    • @dbagenesis
      @dbagenesis  Před 7 lety

      oraclegenesis.com/p/oracle-advanced-rman-backup-recovery

  • @abhishekgaikar4966
    @abhishekgaikar4966 Před 3 lety

    Sir if i am not able to connect to database after db crash then how would i get alert log file location

  • @rameshreddy1844
    @rameshreddy1844 Před 8 lety

    hi iam try learn in oracle database backup and recovery iam done in session 1 & 2 but not there in session 3.please send or upload in the oracle database backup and recovry session 3. please .and advance thanku

  • @riyazshaikh2591
    @riyazshaikh2591 Před 5 lety

    Is it same in 10g or different

  • @syedarshad6055
    @syedarshad6055 Před 4 lety +1

    Sir at 1:49:00 if the database crash we lost all the files then how come archive log file will retain why archive log files are not loss during database crash

    • @dbagenesis
      @dbagenesis  Před 4 lety

      This is just simulation of a scenario on local system. In real time, you will never loose a single file (data file, Control file, archives, redo) even when there is server crash.

  • @jyothigurung4155
    @jyothigurung4155 Před 4 lety +1

    Hii arun , awsm explanation can i have logical backup and recovery topic .

  • @shayansarkar7570
    @shayansarkar7570 Před 2 lety

    Hi Arun- If the Database is in Mount mode, and the backup is taken. Will it be considered as hot or cold backup ?

    • @dbagenesis
      @dbagenesis  Před 2 lety +1

      cold, coz db is not open

    • @shayansarkar7570
      @shayansarkar7570 Před 2 lety

      @@dbagenesis Thanks Arun, another Q: if we fire same SELECT query, will the hash value change for execution?

  • @user-vu1tn1jc3b
    @user-vu1tn1jc3b Před 8 lety

    Hi Arun!
    Your teaching technic is excellent and very motivating. You're very detailed, in the way you put yourself in the students shoes first, which other teachers lack. I'll be interested to attend your website design classes. Is there one we can attend, pls let me know. Many Tnx!

    • @dbagenesis
      @dbagenesis  Před 8 lety

      +Aman Tesfaldet Thanks Aman, yes I can take up sessions on website design. If you could provide me with your email address, I will contact you personally.

    • @vishwasgowda8589
      @vishwasgowda8589 Před 8 lety

      Your knowledge as a DBA is awesome, I bet even a layman can understand what you are teaching as you are giving excellent real time scenarios.

  • @veransobrian8697
    @veransobrian8697 Před 3 lety +1

    is this how it could be at work. like this is exactly how we will do these things in a working real life environment?

  • @onkarkalgutkar7948
    @onkarkalgutkar7948 Před 7 lety +2

    do u have more videos of oracle well explained sir

    • @dbagenesis
      @dbagenesis  Před 7 lety

      Try our website for video courses: oraclegenesis.com/courses

  • @SantoshSingh-qb9qz
    @SantoshSingh-qb9qz Před rokem

    1 question -
    Cold backup is called consistent backup.
    And recovery from cold backup is incomplete.
    Then, Why it is called Consistent backup ?

  • @yogeshnegi7014
    @yogeshnegi7014 Před 7 lety +1

    we have take both datafile as well as archivelog backup and in first scenario when datafile are deleted so we only restore datafile why not archivelog file??? without recovering archive log you perform recover database.

    • @dbagenesis
      @dbagenesis  Před 7 lety +1

      Yes, because the archives needed for recovery are on the disk

    • @yogeshnegi7014
      @yogeshnegi7014 Před 7 lety

      ORACLEGENESIS Thank you so.. much for replying... and if we want to make a copy of archivelog file on a different place or on remote so how we will do it... it's very confusing...

  • @uzcanga
    @uzcanga Před 5 lety

    1:23:00 You know you can just run rm /path/path/*.dbf ?

  • @nabrcnatureaquaculturebiof4172

    Sir good morning
    Please make video same as 12c

  • @samnani3503
    @samnani3503 Před 7 lety +1

    sir how many days for linux course ?

    • @dbagenesis
      @dbagenesis  Před 7 lety

      oraclegenesis.com/p/linux-administration-for-beginners

  • @tpitts
    @tpitts Před 2 lety

    Hey I think I know that guy!

  • @rossxie9809
    @rossxie9809 Před 3 lety +1

    In the demo of recovery from hot backup, the new user was created after the archive logs were backup. When you did a recovery, was the new user recovered from online redo log ? How do we recover from a loss of online redo log ?

    • @dbagenesis
      @dbagenesis  Před 3 lety +1

      If there is redo log loss and no multiplex copy, then you cannot recover it!

  • @thehappybee4564
    @thehappybee4564 Před 4 lety +1

    Hi... Are you giving online training ?

    • @dbagenesis
      @dbagenesis  Před 4 lety

      Yup, you can check our trainings here: dbagenesis.com/courses

  • @PravinJanjal92
    @PravinJanjal92 Před 7 lety +5

    10:55

  • @parameshreddy95
    @parameshreddy95 Před 2 lety +1

    Sir i am interested to take ORACLE DBA coaching near you online. Waiting for reply sir.

    • @dbagenesis
      @dbagenesis  Před 2 lety

      Check our video courses here: dbagenesis.com/p/courses

  • @maheshdatta1276
    @maheshdatta1276 Před 7 lety

    can u please share that ppt

  • @blessiousphiri3109
    @blessiousphiri3109 Před 4 lety +1

    For BCP

  • @georgendifor4178
    @georgendifor4178 Před 4 lety

    thanks for the video. i followed all the steps on cold backup and recovery in this video. everything was successful but when I altered database open i got an error
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 354914304 bytes
    Fixed Size 2213336 bytes
    Variable Size 226495016 bytes
    Database Buffers 121634816 bytes
    Redo Buffers 4571136 bytes
    Database mounted.
    SQL> alter database open;
    alter database open
    *
    ERROR at line 1:
    ORA-01172: recovery of thread 1 stuck at block 57976 of file 2
    ORA-01151: use media recovery to recover block, restore backup if needed
    finally i have to recover a datafile with the below statement
    SQL> recover datafile 2;
    Media recovery complete.
    SQL> alter database open;
    Database altered.
    SQL> select status from v$instance;
    STATUS
    ------------
    OPEN
    you made a comment that we do not need to recover when we use cold backup. please can you explain what happened??

    thanks

  • @nikhiljadhav2700
    @nikhiljadhav2700 Před 4 lety +1

    ORA-03113 end-of-communication channel is error ka solution bataiye

    • @ramanandmyra2138
      @ramanandmyra2138 Před 4 lety

      Manily network issue.also sometimes if u kill session of db-link thn also this issue occurs.
      Still there are 3 other reasons .refer to burleson docs u will find it

  • @najiteyeb6838
    @najiteyeb6838 Před 7 lety +1

    Please how can i take cours online

    • @dbagenesis
      @dbagenesis  Před 7 lety

      You can visit our website for video courses: oraclegenesis.com/courses

    • @najiteyeb6838
      @najiteyeb6838 Před 7 lety

      ok I SEE those training but this training for groupe or one person

  • @7002asif
    @7002asif Před 8 lety

    hi, can i work as a Professional oracle DBA from this course ? r u covering everything in this training & in ur (oraclegenesis.com) website? please let me know. it would be very helpful if i we can get real life professional experience from here.

    • @dbagenesis
      @dbagenesis  Před 8 lety

      +asif mahmood Dear Candidate, The professional DBA takes a long dedication and real time experience. With the video courses that we have, you can crack DBA interviews and handle different daily tasks. For a professional experience, you could contact us for an customized internship program. Write to us at hello@oraclegenesis.com

    • @7002asif
      @7002asif Před 8 lety

      Ok, so if i understood u correctly, this course is all about everyday task & job interviews. But in order to be a DBA, i need a full course where i can learn complete Oracle DBA. i already have pre oracle dba & pl/sql experience. so i just need a good teacher to guide me how to complete the full course.

    • @dbagenesis
      @dbagenesis  Před 8 lety

      +asif mahmood As you already have Oracle DBA & PL / SQL experience, It will be very easy for you to learn Oracle DBA. You need to learn the administration part. Most importantly! you need to focus on Oracle advanced topics Like Backup and recovery, High availability and performance tuning. As per the description above, you can check our Advanced DBA course content which would suit your need: oraclegenesis.com/course/oracle-11g-advanced-dba/

  • @javidbhat1086
    @javidbhat1086 Před 5 lety

    Can I get some discount am student . ?

  • @davidchang5862
    @davidchang5862 Před 2 lety

    Nice tutorial. And yet another Mr Nay’s accent…

  • @blessiousphiri3109
    @blessiousphiri3109 Před 4 lety +1

    Keep the Backup offsite

  • @satishhhhable
    @satishhhhable Před 4 lety +3

    all the guys in the class must be sleeping haha. No one answers to his questions

  • @rafikahmmed1083
    @rafikahmmed1083 Před 4 lety

    explanation is good but using more time for this small topic he has taken more than 2 hours its only take 30 minutes job