尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
Backing Up
Oracle
Databases
with Handy
Backup
March 2014
2
Contents
Introduction......................................................................................................................3
Main features of Handy Backup Oracle plug-in ...............................................................3
Assignment ....................................................................................................................... 3
Advantages....................................................................................................................... 3
Backing up of remote Oracle databases ........................................................................... 3
Data that could be included in a backup ........................................................................... 3
Supported versions of Oracle............................................................................................ 4
Access rights..................................................................................................................... 4
Compression of backups................................................................................................... 4
Backup and Restore ........................................................................................................4
Preparation of database for backup .................................................................................. 4
Creating a Backup Task.................................................................................................... 5
Performing a Backup Task................................................................................................ 9
Restore ............................................................................................................................. 9
Technical details............................................................................................................10
Name format of your files.................................................................................................10
Search of Oracle databases.............................................................................................11
Appendix. Adding Users to the ORA_DBA Group .........................................................11
Conclusion.....................................................................................................................12
About Handy Backup.....................................................................................................12
About Novosoft..............................................................................................................12
Contacts ........................................................................................................................12
3
Introduction
One of the most popular features of Handy Backup software (business editions) is the
backing up of Oracle databases. “Hot” backup technology enables to backup database even if
it is in active use. Backups of the Oracle database can be created using any version of Handy
Backup if it contains the Oracle plug-in1
. The plug-in helps to make the process of backing up
and restoring fully automated and fast. The software provides an opportunity to create and
restore backups on a schedule. Moreover, Handy Backup is able to run as a Windows service
and doesn’t affect system performance.
This guide provides detailed instructions for creating and restoring backups of Oracle. It will
effectively protect the data stored in your database.
Main features of Handy Backup Oracle plug-in
Assignment
 “Hot” Oracle database backup;
 "Cold" backup in case of inability to perform "hot" backup;
 Restoring database from a backup.
Advantages
1. The ability to back up without interrupting a database (a "hot" backup).
2. The use of the reliable RMAN utility for backups ensures the integrity of stored data.
Backing up of remote Oracle databases
To back up an Oracle database on a remote computer you should install the client Handy
Backup (Backup Network Workstation). Detailed instructions for use of Handy Backup for
backup of remote Oracle databases is beyond the scope of this manual. If you want to get that
instructions you can send request on sales@handybackup.net.
Data that could be included in a backup
 All database tables;
 Archive logs before and after backup;
 Spfile;
1
Oracle plug-in is included in Small Server and Network Server editions and could be added to Home Standard and
Home Professional versions as a complementary feature.
4
 controlfile;
 Settings and preferences: tnsnames.ora, listener.ora, sqlnet.ora on the way
%ORACLE_HOME%networkadmin;
 File of passwords %ORACLE_HOME%databasepwd<SID>.ora.
Supported versions of Oracle
The plug-in was developed for version Oracle 10g. To back up older versions of Oracle you
are recommended to use alternative methods of backup. Please feel free to write on
support@handybackup.net for advice on selection and use of alternatives.
Handy Backup officially supports Oracle 10g version on any platform of Windows NT
family.
Access rights
The user account under which the program runs must have membership of the
ORA_DBA group. Instruction for adding users for ORA_DBA group are on the appendix for
this manual.
Compression of backups
The RMAN (Recovery Manager) utility was introduced in Oracle since version 8 and is
used for backing up and recovery procedures. All data is stored by means of RMAN by default,
it allows to reduce significantly the size of backups.
Backup and Restore
Preparation of database for backup
To use the opportunity of "hot" backup your database should run in ARCHIVELOG mode. If
the database operates in NOARCHIVELOG, then its work will be stopped during backup and
then restored at the end of the backup. To find out the current mode of the database fulfill the
following query:
SQL> select log_mode from sys.v$database
For successful connection of Handy Backup plug-in for the database the following
requirement should be met: Novosoft Network Workstation service should run as the user of
the group of ORA_DBA.
5
Creating a Backup Task
Choose Oracle plug-in from the menu:
Select required databases:
6
In the drop-down list you can see Oracle databases installed on the local machine (displays
their name ORACLE_HOME) and the bases it serves (displayed SID database). Select the
database that you want to copy.
Following steps:
7
Oracle backup is carried out with data compression by default so there is no need for
additional compression by Handy Backup.
8
9
Performing a Backup Task
Select Backup from the context menu of tasks.
Wait until the end of the task.
Please note that you can create a task list and make backups automatically (for more
information on this feature please read the manual for Handy Backup or write on
support@handybackup.net).
Restore
If you want to restore Oracle database to the same location where it took place just select
Restore from the context menu of tasks.
If the database was lost completely, follow these steps:
1. Create a new database with the same BASE_NAME and SID as before. For
instance, this can be done with the help of Database Configuration Assistant. Make
sure that the path to the folder where the files are stored is the same as before.
2. Stop the database instance and delete all data files and the controlfile of the
newly created database.
3. Re-run the database instance.
10
4. Perform common restoration of the backup.
5. Wait until the end of the process.
If the automatic recovery fails for some reason, it is recommended to try to restore the
database manually using files of Handy Backup. In this situation, please apply for professional
help writing on support@handybackup.net.
Note:
Sometimes during the restore the database transaction logs are used and after recovery
the database remains in the same state as before.
In order to prevent this, you should:
1) Remove only the transaction logs (in the folder Flash Recovery Area).
2) If paragraph 1 does not help, remove the logs and data file USER.dbf.
Before deleting the files you need to stop the Oracle instance service and to restart it before
restoring.
Technical details
Name format of your files
%d-%I-%T-%U.bcp – data files,
%h-%e-%d-%I-%T-%U.archlog – archived log files,
%d-%I-%T-%U.spfile – SPFILE
%d-%I-%T-%U.controlfile - controlfile
%d - base name,
%I - DBID,
%T - date in YYYYMMDD format,
%U - unique string,
%e - Specifies the archived log sequence number,
%h - Specifies the archived redo log thread number.
Following files are also included:
tnsnames.ora,
listener.ora,
sqlnet.ora,
pwd<SID>.ora
11
Search of Oracle databases
All information about Oracle Homes is taken from the registry keys like:
HKEY_LOCAL_MACHINESOFTWAREORACLEKEY_<ORACLE_HOME_NAME>
Information about instance identifiers (SID in Oracle terms) is taken from the keys like:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesOracleService<SID>,
where <SID>is an instance identifier.
Thus hierarchy tree is formed: oracle_homeoracle_sid
Appendix. Adding Users to the ORA_DBA Group
To add a user to the ORA_DBA group, follow these steps:
1. Make sure that you have Oracle installed on your PC.
2. On the Windows Start menu, right click Computer and then click Manage.
The Computer Management dialog opens.
3. In the left pane, expand System Tools, then expand Local Users and
Groups, and then click Users.
4. In the right pane, right-click the desired user account, and then
click Properties. The User Properties dialog opens.
5. Under the Member Of tab, click Add.
6. In the bottom pane select ORA_DBA and then click OK.
12
Conclusion
Oracle backup tool of Handy Backup is a convenient solution for backing up and restoring
data of Oracle databases. Opportunity to use the program without stopping the database
allows applying this method of backup for data protection in the various IT-infrastructures.
About Handy Backup
Handy Backup is a product line for backup created by Novosoft. The software allows
backing up, restoring and synchronizing of different types of data. Wide functionality have
allowed Handy Backup to gain popularity on the global market of IT products as a convenient
solution for home usage and corporate environment.
About Novosoft
The company was founded in 1992 and provides a wide range of services for various
industries in the field of IT. Solutions developed by the company's specialists are based on the
advanced technologies that allow the Novosoft's products to maintain leading positions on the
domestic and international markets.
Contacts
Call us:
+1 (707) 703-13-11
+7 (383) 330-34-69
E-mail: sales@handybackup.ru
Address: Prospect Koptyuga, 4 Novosibirsk, 630090, Russia
Official website: www.handybackup.net
facebook.com/NovosoftHandyBackup
linkedin.com/company/novosoft
twitter.com/Handy_Backup

More Related Content

What's hot

Oracle Database 11g Product Family
Oracle Database 11g Product FamilyOracle Database 11g Product Family
Oracle Database 11g Product Family
N/A
 
Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3
maclean liu
 
Obia with odi
Obia with odiObia with odi
Oracle backup
Oracle backupOracle backup
Oracle backup
Ravi Kumar Lanke
 
Power point oracle db 12c
Power point oracle db 12cPower point oracle db 12c
Power point oracle db 12c
Nnabuike Nathaniel
 
61 Rac
61 Rac61 Rac
Oracle DBA interview_questions
Oracle DBA interview_questionsOracle DBA interview_questions
Oracle DBA interview_questions
Naveen P
 
Oracle dba online training
Oracle dba online trainingOracle dba online training
Oracle dba online training
keylabstraining
 
21 Rac
21 Rac21 Rac
41 Pdfsam
41 Pdfsam41 Pdfsam
41 Pdfsam
Emanuel Mateus
 
Steps for upgrading the database to 10g release 2
Steps for upgrading the database to 10g release 2Steps for upgrading the database to 10g release 2
Steps for upgrading the database to 10g release 2
nesmaddy
 
Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in Dataguard
Jason Arneil
 
Formats
FormatsFormats
Formats
Lee Dohyup
 
Maa wp-10g-racprimaryracphysicalsta-131940
Maa wp-10g-racprimaryracphysicalsta-131940Maa wp-10g-racprimaryracphysicalsta-131940
Maa wp-10g-racprimaryracphysicalsta-131940
gopalchsamanta
 
Rac questions
Rac questionsRac questions
Rac questions
parvezsigan
 
Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4
mohammed shahnawaz ahmed
 
161 Rac
161 Rac161 Rac
Mid term &amp; final- preparation- student-review(Oracle)
Mid term &amp; final- preparation- student-review(Oracle)Mid term &amp; final- preparation- student-review(Oracle)
Mid term &amp; final- preparation- student-review(Oracle)
than sare
 
Dataguard physical stand by setup
Dataguard physical stand by setupDataguard physical stand by setup
Dataguard physical stand by setup
smajeed1
 
Oracle Complete Interview Questions
Oracle Complete Interview QuestionsOracle Complete Interview Questions
Oracle Complete Interview Questions
Sandeep Sharma IIMK Smart City,IoT,Bigdata,Cloud,BI,DW
 

What's hot (20)

Oracle Database 11g Product Family
Oracle Database 11g Product FamilyOracle Database 11g Product Family
Oracle Database 11g Product Family
 
Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3
 
Obia with odi
Obia with odiObia with odi
Obia with odi
 
Oracle backup
Oracle backupOracle backup
Oracle backup
 
Power point oracle db 12c
Power point oracle db 12cPower point oracle db 12c
Power point oracle db 12c
 
61 Rac
61 Rac61 Rac
61 Rac
 
Oracle DBA interview_questions
Oracle DBA interview_questionsOracle DBA interview_questions
Oracle DBA interview_questions
 
Oracle dba online training
Oracle dba online trainingOracle dba online training
Oracle dba online training
 
21 Rac
21 Rac21 Rac
21 Rac
 
41 Pdfsam
41 Pdfsam41 Pdfsam
41 Pdfsam
 
Steps for upgrading the database to 10g release 2
Steps for upgrading the database to 10g release 2Steps for upgrading the database to 10g release 2
Steps for upgrading the database to 10g release 2
 
Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in Dataguard
 
Formats
FormatsFormats
Formats
 
Maa wp-10g-racprimaryracphysicalsta-131940
Maa wp-10g-racprimaryracphysicalsta-131940Maa wp-10g-racprimaryracphysicalsta-131940
Maa wp-10g-racprimaryracphysicalsta-131940
 
Rac questions
Rac questionsRac questions
Rac questions
 
Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4
 
161 Rac
161 Rac161 Rac
161 Rac
 
Mid term &amp; final- preparation- student-review(Oracle)
Mid term &amp; final- preparation- student-review(Oracle)Mid term &amp; final- preparation- student-review(Oracle)
Mid term &amp; final- preparation- student-review(Oracle)
 
Dataguard physical stand by setup
Dataguard physical stand by setupDataguard physical stand by setup
Dataguard physical stand by setup
 
Oracle Complete Interview Questions
Oracle Complete Interview QuestionsOracle Complete Interview Questions
Oracle Complete Interview Questions
 

Viewers also liked

Anderson v barron
Anderson v barronAnderson v barron
Anderson v barron
jodieeb
 
HealthyPointsBrochure
HealthyPointsBrochureHealthyPointsBrochure
HealthyPointsBrochurefelocin
 
бэкап баз данных Oracle c помощью handy backup, март 2014
бэкап баз данных Oracle c помощью handy backup, март 2014бэкап баз данных Oracle c помощью handy backup, март 2014
бэкап баз данных Oracle c помощью handy backup, март 2014Handy_Backup
 
pelicula
peliculapelicula
pelicula
carlosluna224
 
pelicula
peliculapelicula
pelicula
carlosluna224
 
Music Video Conventions
Music Video ConventionsMusic Video Conventions
Music Video Conventions
jodieeb
 
Health pointsbrochure
Health pointsbrochureHealth pointsbrochure
Health pointsbrochurefelocin
 
Periodismo politico diana alvarez
Periodismo politico   diana alvarezPeriodismo politico   diana alvarez
Periodismo politico diana alvarez
DianaAlvarz
 
Gestion des references avec Zotero
Gestion des references avec ZoteroGestion des references avec Zotero
Gestion des references avec Zotero
Assane Fall
 
La veille informationnelle pour un professionnel de l'information
La veille informationnelle pour un professionnel de l'informationLa veille informationnelle pour un professionnel de l'information
La veille informationnelle pour un professionnel de l'information
Assane Fall
 
Processadores
ProcessadoresProcessadores
Processadores
Luiz Pereira
 
Wes Anderson: Style
Wes Anderson: StyleWes Anderson: Style
Wes Anderson: Style
jodieeb
 
Plateforme de Documentation et d'Information en Imagerie Médicale
Plateforme de Documentation et d'Information en Imagerie MédicalePlateforme de Documentation et d'Information en Imagerie Médicale
Plateforme de Documentation et d'Information en Imagerie Médicale
Assane Fall
 

Viewers also liked (15)

Irland
IrlandIrland
Irland
 
Anderson v barron
Anderson v barronAnderson v barron
Anderson v barron
 
HealthyPointsBrochure
HealthyPointsBrochureHealthyPointsBrochure
HealthyPointsBrochure
 
бэкап баз данных Oracle c помощью handy backup, март 2014
бэкап баз данных Oracle c помощью handy backup, март 2014бэкап баз данных Oracle c помощью handy backup, март 2014
бэкап баз данных Oracle c помощью handy backup, март 2014
 
pelicula
peliculapelicula
pelicula
 
pelicula
peliculapelicula
pelicula
 
Music Video Conventions
Music Video ConventionsMusic Video Conventions
Music Video Conventions
 
Irland
IrlandIrland
Irland
 
Health pointsbrochure
Health pointsbrochureHealth pointsbrochure
Health pointsbrochure
 
Periodismo politico diana alvarez
Periodismo politico   diana alvarezPeriodismo politico   diana alvarez
Periodismo politico diana alvarez
 
Gestion des references avec Zotero
Gestion des references avec ZoteroGestion des references avec Zotero
Gestion des references avec Zotero
 
La veille informationnelle pour un professionnel de l'information
La veille informationnelle pour un professionnel de l'informationLa veille informationnelle pour un professionnel de l'information
La veille informationnelle pour un professionnel de l'information
 
Processadores
ProcessadoresProcessadores
Processadores
 
Wes Anderson: Style
Wes Anderson: StyleWes Anderson: Style
Wes Anderson: Style
 
Plateforme de Documentation et d'Information en Imagerie Médicale
Plateforme de Documentation et d'Information en Imagerie MédicalePlateforme de Documentation et d'Information en Imagerie Médicale
Plateforme de Documentation et d'Information en Imagerie Médicale
 

Similar to Oracle Database Backup

High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
Mario Redón Luz
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
17398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv117398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv1
Mmusi Dithotse
 
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)
Gustavo Rene Antunez
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
Satishbabu Gunukula
 
ora_sothea
ora_sotheaora_sothea
ora_sothea
thysothea
 
Collaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryCollaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mystery
Nelson Calero
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentation
Vimlendu Kumar
 
Oracle architecture
Oracle architectureOracle architecture
Oracle architecture
Soumya Das
 
Less14 Br Concepts
Less14 Br ConceptsLess14 Br Concepts
Less14 Br Concepts
vivaankumar
 
Obia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platformObia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platform
Sheikh Zakirulla
 
Backups And Recovery
Backups And RecoveryBackups And Recovery
Backups And Recovery
asifmalik110
 
Oracle ocp backup exam
Oracle ocp backup examOracle ocp backup exam
Oracle ocp backup exam
sriram raj
 
Oracle OCP Backup Exam
Oracle OCP Backup ExamOracle OCP Backup Exam
Oracle OCP Backup Exam
Inprise Group
 
Backup&recovery
Backup&recoveryBackup&recovery
Backup&recovery
Vinay Thota
 
database backup and recovery
database backup and recoverydatabase backup and recovery
database backup and recovery
sdrhr
 
PHP Oracle
PHP OraclePHP Oracle
PHP Oracle
Nur Hidayat
 
8 i rman_love_it
8 i rman_love_it8 i rman_love_it
8 i rman_love_it
Anil Pandey
 
Les 02 config
Les 02 configLes 02 config
Les 02 config
Femi Adeyemi
 
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
Arun Sharma
 

Similar to Oracle Database Backup (20)

High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
17398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv117398351 sap-system-copy-homcopyv1
17398351 sap-system-copy-homcopyv1
 
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)
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
ora_sothea
ora_sotheaora_sothea
ora_sothea
 
Collaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryCollaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mystery
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentation
 
Oracle architecture
Oracle architectureOracle architecture
Oracle architecture
 
Less14 Br Concepts
Less14 Br ConceptsLess14 Br Concepts
Less14 Br Concepts
 
Obia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platformObia11.1.1.10.1 installation and configuration on Unix platform
Obia11.1.1.10.1 installation and configuration on Unix platform
 
Backups And Recovery
Backups And RecoveryBackups And Recovery
Backups And Recovery
 
Oracle ocp backup exam
Oracle ocp backup examOracle ocp backup exam
Oracle ocp backup exam
 
Oracle OCP Backup Exam
Oracle OCP Backup ExamOracle OCP Backup Exam
Oracle OCP Backup Exam
 
Backup&recovery
Backup&recoveryBackup&recovery
Backup&recovery
 
database backup and recovery
database backup and recoverydatabase backup and recovery
database backup and recovery
 
PHP Oracle
PHP OraclePHP Oracle
PHP Oracle
 
8 i rman_love_it
8 i rman_love_it8 i rman_love_it
8 i rman_love_it
 
Les 02 config
Les 02 configLes 02 config
Les 02 config
 
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
 

Recently uploaded

Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
Enterprise Knowledge
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
Tobias Schneck
 
Guidelines for Effective Data Visualization
Guidelines for Effective Data VisualizationGuidelines for Effective Data Visualization
Guidelines for Effective Data Visualization
UmmeSalmaM1
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 
Introduction to ThousandEyes AMER Webinar
Introduction  to ThousandEyes AMER WebinarIntroduction  to ThousandEyes AMER Webinar
Introduction to ThousandEyes AMER Webinar
ThousandEyes
 
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes
 
Multivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back againMultivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back again
Kieran Kunhya
 
An Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise IntegrationAn Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise Integration
Safe Software
 
APJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes WebinarAPJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes Webinar
ThousandEyes
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
FilipTomaszewski5
 
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDBScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB
 
CTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database MigrationCTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database Migration
ScyllaDB
 
An All-Around Benchmark of the DBaaS Market
An All-Around Benchmark of the DBaaS MarketAn All-Around Benchmark of the DBaaS Market
An All-Around Benchmark of the DBaaS Market
ScyllaDB
 
Real-Time Persisted Events at Supercell
Real-Time Persisted Events at  SupercellReal-Time Persisted Events at  Supercell
Real-Time Persisted Events at Supercell
ScyllaDB
 
Cyber Recovery Wargame
Cyber Recovery WargameCyber Recovery Wargame
Cyber Recovery Wargame
Databarracks
 
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time MLMongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
ScyllaDB
 
Day 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data ManipulationDay 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data Manipulation
UiPathCommunity
 
Facilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptxFacilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptx
Knoldus Inc.
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
UiPathCommunity
 
So You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental DowntimeSo You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental Downtime
ScyllaDB
 

Recently uploaded (20)

Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
 
Guidelines for Effective Data Visualization
Guidelines for Effective Data VisualizationGuidelines for Effective Data Visualization
Guidelines for Effective Data Visualization
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 
Introduction to ThousandEyes AMER Webinar
Introduction  to ThousandEyes AMER WebinarIntroduction  to ThousandEyes AMER Webinar
Introduction to ThousandEyes AMER Webinar
 
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024
 
Multivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back againMultivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back again
 
An Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise IntegrationAn Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise Integration
 
APJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes WebinarAPJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes Webinar
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
 
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDBScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
 
CTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database MigrationCTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database Migration
 
An All-Around Benchmark of the DBaaS Market
An All-Around Benchmark of the DBaaS MarketAn All-Around Benchmark of the DBaaS Market
An All-Around Benchmark of the DBaaS Market
 
Real-Time Persisted Events at Supercell
Real-Time Persisted Events at  SupercellReal-Time Persisted Events at  Supercell
Real-Time Persisted Events at Supercell
 
Cyber Recovery Wargame
Cyber Recovery WargameCyber Recovery Wargame
Cyber Recovery Wargame
 
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time MLMongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
 
Day 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data ManipulationDay 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data Manipulation
 
Facilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptxFacilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptx
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
 
So You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental DowntimeSo You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental Downtime
 

Oracle Database Backup

  • 2. 2 Contents Introduction......................................................................................................................3 Main features of Handy Backup Oracle plug-in ...............................................................3 Assignment ....................................................................................................................... 3 Advantages....................................................................................................................... 3 Backing up of remote Oracle databases ........................................................................... 3 Data that could be included in a backup ........................................................................... 3 Supported versions of Oracle............................................................................................ 4 Access rights..................................................................................................................... 4 Compression of backups................................................................................................... 4 Backup and Restore ........................................................................................................4 Preparation of database for backup .................................................................................. 4 Creating a Backup Task.................................................................................................... 5 Performing a Backup Task................................................................................................ 9 Restore ............................................................................................................................. 9 Technical details............................................................................................................10 Name format of your files.................................................................................................10 Search of Oracle databases.............................................................................................11 Appendix. Adding Users to the ORA_DBA Group .........................................................11 Conclusion.....................................................................................................................12 About Handy Backup.....................................................................................................12 About Novosoft..............................................................................................................12 Contacts ........................................................................................................................12
  • 3. 3 Introduction One of the most popular features of Handy Backup software (business editions) is the backing up of Oracle databases. “Hot” backup technology enables to backup database even if it is in active use. Backups of the Oracle database can be created using any version of Handy Backup if it contains the Oracle plug-in1 . The plug-in helps to make the process of backing up and restoring fully automated and fast. The software provides an opportunity to create and restore backups on a schedule. Moreover, Handy Backup is able to run as a Windows service and doesn’t affect system performance. This guide provides detailed instructions for creating and restoring backups of Oracle. It will effectively protect the data stored in your database. Main features of Handy Backup Oracle plug-in Assignment  “Hot” Oracle database backup;  "Cold" backup in case of inability to perform "hot" backup;  Restoring database from a backup. Advantages 1. The ability to back up without interrupting a database (a "hot" backup). 2. The use of the reliable RMAN utility for backups ensures the integrity of stored data. Backing up of remote Oracle databases To back up an Oracle database on a remote computer you should install the client Handy Backup (Backup Network Workstation). Detailed instructions for use of Handy Backup for backup of remote Oracle databases is beyond the scope of this manual. If you want to get that instructions you can send request on sales@handybackup.net. Data that could be included in a backup  All database tables;  Archive logs before and after backup;  Spfile; 1 Oracle plug-in is included in Small Server and Network Server editions and could be added to Home Standard and Home Professional versions as a complementary feature.
  • 4. 4  controlfile;  Settings and preferences: tnsnames.ora, listener.ora, sqlnet.ora on the way %ORACLE_HOME%networkadmin;  File of passwords %ORACLE_HOME%databasepwd<SID>.ora. Supported versions of Oracle The plug-in was developed for version Oracle 10g. To back up older versions of Oracle you are recommended to use alternative methods of backup. Please feel free to write on support@handybackup.net for advice on selection and use of alternatives. Handy Backup officially supports Oracle 10g version on any platform of Windows NT family. Access rights The user account under which the program runs must have membership of the ORA_DBA group. Instruction for adding users for ORA_DBA group are on the appendix for this manual. Compression of backups The RMAN (Recovery Manager) utility was introduced in Oracle since version 8 and is used for backing up and recovery procedures. All data is stored by means of RMAN by default, it allows to reduce significantly the size of backups. Backup and Restore Preparation of database for backup To use the opportunity of "hot" backup your database should run in ARCHIVELOG mode. If the database operates in NOARCHIVELOG, then its work will be stopped during backup and then restored at the end of the backup. To find out the current mode of the database fulfill the following query: SQL> select log_mode from sys.v$database For successful connection of Handy Backup plug-in for the database the following requirement should be met: Novosoft Network Workstation service should run as the user of the group of ORA_DBA.
  • 5. 5 Creating a Backup Task Choose Oracle plug-in from the menu: Select required databases:
  • 6. 6 In the drop-down list you can see Oracle databases installed on the local machine (displays their name ORACLE_HOME) and the bases it serves (displayed SID database). Select the database that you want to copy. Following steps:
  • 7. 7 Oracle backup is carried out with data compression by default so there is no need for additional compression by Handy Backup.
  • 8. 8
  • 9. 9 Performing a Backup Task Select Backup from the context menu of tasks. Wait until the end of the task. Please note that you can create a task list and make backups automatically (for more information on this feature please read the manual for Handy Backup or write on support@handybackup.net). Restore If you want to restore Oracle database to the same location where it took place just select Restore from the context menu of tasks. If the database was lost completely, follow these steps: 1. Create a new database with the same BASE_NAME and SID as before. For instance, this can be done with the help of Database Configuration Assistant. Make sure that the path to the folder where the files are stored is the same as before. 2. Stop the database instance and delete all data files and the controlfile of the newly created database. 3. Re-run the database instance.
  • 10. 10 4. Perform common restoration of the backup. 5. Wait until the end of the process. If the automatic recovery fails for some reason, it is recommended to try to restore the database manually using files of Handy Backup. In this situation, please apply for professional help writing on support@handybackup.net. Note: Sometimes during the restore the database transaction logs are used and after recovery the database remains in the same state as before. In order to prevent this, you should: 1) Remove only the transaction logs (in the folder Flash Recovery Area). 2) If paragraph 1 does not help, remove the logs and data file USER.dbf. Before deleting the files you need to stop the Oracle instance service and to restart it before restoring. Technical details Name format of your files %d-%I-%T-%U.bcp – data files, %h-%e-%d-%I-%T-%U.archlog – archived log files, %d-%I-%T-%U.spfile – SPFILE %d-%I-%T-%U.controlfile - controlfile %d - base name, %I - DBID, %T - date in YYYYMMDD format, %U - unique string, %e - Specifies the archived log sequence number, %h - Specifies the archived redo log thread number. Following files are also included: tnsnames.ora, listener.ora, sqlnet.ora, pwd<SID>.ora
  • 11. 11 Search of Oracle databases All information about Oracle Homes is taken from the registry keys like: HKEY_LOCAL_MACHINESOFTWAREORACLEKEY_<ORACLE_HOME_NAME> Information about instance identifiers (SID in Oracle terms) is taken from the keys like: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesOracleService<SID>, where <SID>is an instance identifier. Thus hierarchy tree is formed: oracle_homeoracle_sid Appendix. Adding Users to the ORA_DBA Group To add a user to the ORA_DBA group, follow these steps: 1. Make sure that you have Oracle installed on your PC. 2. On the Windows Start menu, right click Computer and then click Manage. The Computer Management dialog opens. 3. In the left pane, expand System Tools, then expand Local Users and Groups, and then click Users. 4. In the right pane, right-click the desired user account, and then click Properties. The User Properties dialog opens. 5. Under the Member Of tab, click Add. 6. In the bottom pane select ORA_DBA and then click OK.
  • 12. 12 Conclusion Oracle backup tool of Handy Backup is a convenient solution for backing up and restoring data of Oracle databases. Opportunity to use the program without stopping the database allows applying this method of backup for data protection in the various IT-infrastructures. About Handy Backup Handy Backup is a product line for backup created by Novosoft. The software allows backing up, restoring and synchronizing of different types of data. Wide functionality have allowed Handy Backup to gain popularity on the global market of IT products as a convenient solution for home usage and corporate environment. About Novosoft The company was founded in 1992 and provides a wide range of services for various industries in the field of IT. Solutions developed by the company's specialists are based on the advanced technologies that allow the Novosoft's products to maintain leading positions on the domestic and international markets. Contacts Call us: +1 (707) 703-13-11 +7 (383) 330-34-69 E-mail: sales@handybackup.ru Address: Prospect Koptyuga, 4 Novosibirsk, 630090, Russia Official website: www.handybackup.net facebook.com/NovosoftHandyBackup linkedin.com/company/novosoft twitter.com/Handy_Backup
  翻译: