Presentation is loading. Please wait.

Presentation is loading. Please wait.

F Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup.

Similar presentations


Presentation on theme: "F Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup."— Presentation transcript:

1 F Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup

2 F-2 Copyright © 2006, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to do the following: Describe the Oracle Secure Backup architecture and how it benefits your environment Discuss the basic Oracle Secure Backup media management concepts Install and configure Oracle Secure Backup Use RMAN and Oracle Secure Backup to back up and restore the Oracle database Use Oracle Secure Backup to back up and restore file system files

3 F-3 Copyright © 2006, Oracle. All rights reserved. Data Protection to Tape for the Oracle Stack File system data Oracle home Other nondatabase data Oracle database Versions Oracle9 i and later Real Application Clusters Oracle Application Server configuration files Oracle Collaboration Suite configuration files Tape library Oracle Secure Backup Centralized tape backup management Backup and Restore

4 F-4 Copyright © 2006, Oracle. All rights reserved. The Customer Advantage: Complete Oracle Solution Oracle Secure Backup and RMAN provide an end- to-end backup solution for Oracle environments –Centralized backup management to tape for file system data and the Oracle database –Most well-integrated media management layer for RMAN backups –Backup of any data anywhere on the network A single technical support resource for the entire backup solution expedites problem resolution. This ensures reliable data protection at a lower cost and complexity.

5 F-5 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup for Centralized Tape Backup Management Multivendor clients backed up over the network LAN Tape library NAS UNIX Linux Windows Media servers locally backed up Oracle backup Oracle Secure Backup Central administration of local and network backup and restore Local and remote tape device management Client/server architecture Heterogeneous data protection to tape Oracle database

6 F-6 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Administrative Domain Administrative server: –Maintains Oracle Secure Backup catalog files containing configuration settings and backup history –Has standard access mode only Media or SAN server: –Transfers data to or from attached devices –Has standard or NDMP access modes Client: –Is a server backed up by Oracle Secure Backup –Has standard or NDMP access modes Administrative server Media or SAN server Client Oracle Secure Backup Catalog Data to back up Network

7 F-7 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup: Backup Management Overview Centralized management of the administrative domain –Consolidated catalog –Users and privileges Ease of administration with multiple interface options, backup policies, and much more Backing up and restoring data –File system and Oracle database –Management through policies Media management (tapes) Automated tape device management Flexible configuration options

8 F-8 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Catalog /usr/local/oracle/backup admin Centralized on the administrative server Should be backed up on a regular basis adminoperatororaclereaderuser classdatasetdefaultdevicefamilyhostoconfscheduleusersummaryconfighistorylogstate

9 F-9 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Users Name & password Class privileges UNIX username & group Windows domain account & password Email address NDMP access authorization Given name Preauthentication user information Oracle Secure Backup user

10 F-10 Copyright © 2006, Oracle. All rights reserved.

11 F-11 Copyright © 2006, Oracle. All rights reserved. Predefined Classes

12 F-12 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Interface Options Oracle Secure Backup obtool RMAN Web tool EM Database operations File system operations

13 F-13 Copyright © 2006, Oracle. All rights reserved. Managing Data to Be Protected Intuitive Enterprise Manager scheduling interface Use RMAN backup levels: Full and incremental RMAN backup sets Oracle Database Flexible date/time calendar–based scheduling On-demand backups Frequency of backups Multilevel backups: Full, incremental, or off-site Backup options Oracle Secure Backup data sets: User defined Defining what data to back up File System Data

14 F-14 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Media Concepts Media family Volume set Volume Backup image Set of tapes containing backup images Product of one backup operation Tape Means to manage the content of a volume set

15 F-15 Copyright © 2006, Oracle. All rights reserved. Volume Set Recycling Volume set creation Write windowRetain duration Volume set expiration Volume set closed Time Updates allowed Updates forbidden Recycling File System File Volumes Exceed expire duration Volume set Recycling Backup Pieces Volumes Backup piece Expired Manually deleted Or

16 F-16 Copyright © 2006, Oracle. All rights reserved.

17 F-17 Copyright © 2006, Oracle. All rights reserved. Automated Device Management Oracle Secure Backup automates the control of tape libraries. –Accepts SCSI commands from the library to: Manage the tapes inventory Move tapes to or from storage elements and drives –Automates tape drive cleaning –Supports bar code readers and media verification Automated device discovery and configuration for NDMP v3 and v4 capable servers

18 F-18 Copyright © 2006, Oracle. All rights reserved. Library Management Operations Storage elements insertvol Tape drives Loadvol unloadvol movevol Library extractvol

19 F-19 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup: Installation Media servers Software installation Administrative domain definition Device definition/ discovery Administrative server Media server Client Tape drives/ libraries Device attachments creation OTNCD-ROM Oracle Secure Backup only Administrative server Media server Client Oracle Secure Backup/NDMP 1 2 3

20 F-20 Copyright © 2006, Oracle. All rights reserved. Installing Oracle Secure Backup Software Windows UNIX/Linux OTN Staged locally Unzip/untar Remove stage Install UNIX/Linux CD-ROM Install OR Each host One host Determine server roles

21 F-21 Copyright © 2006, Oracle. All rights reserved. Administrative Server Installation: Example [root@EDRSR14P1 stage]# mkdir -p /usr/local/oracle/backup [root@EDRSR14P1 stage]# cd /usr/local/oracle/backup [root@EDRSR14P1 backup]# /stage/ob-4.1cdrom040914/setup Welcome to Oracle's setup program for Oracle Secure Backup. This program loads Oracle Secure Backup software from the CD-ROM to a filesystem directory of your choosing. This CD-ROM contains Oracle Secure Backup version 10.2. Please wait a moment while I learn about this host... done. - - - - - - - - - - - - - - - - - - - You may load any of the following Oracle Secure Backup packages: 1. solaris (Solaris 32, SPARC) administrative server, media server, client 2. linux32 (RH 2.1, RHEL 3, RHEL 4, SuSE 8, SuSE 9) administrative server, media server, client 3. solaris64 (Solaris 2.8 and later, SPARC) administrative server, media server, client Enter a space-separated list of packages you'd like to load. To load all packages, enter 'all' [2]: 2

22 F-22 Copyright © 2006, Oracle. All rights reserved. Defining Your Administrative Server in EM

23 F-23 Copyright © 2006, Oracle. All rights reserved. The Oracle Secure Backup Device and Media Page

24 F-24 Copyright © 2006, Oracle. All rights reserved. Adding Devices

25 F-25 Copyright © 2006, Oracle. All rights reserved. Managing Devices by Using EM

26 F-26 Copyright © 2006, Oracle. All rights reserved. RMAN and Oracle Secure Backup Oracle Secure Backup Back up or restore backup sets to tape Back up file system files to tape Anywhere on the network Recovery Manager Browse/manage backup pieces Oracle server session SBT library Possible operations

27 F-27 Copyright © 2006, Oracle. All rights reserved. Accessing Oracle Secure Backup from RMAN Backup or restore Recovery Manager Database Backup Storage Selectors Oracle Secure Backup Preauthorized RMAN user Oracle server session SBT library Oracle database files

28 F-28 Copyright © 2006, Oracle. All rights reserved. User Preauthorization User executes an allocate SBT_TAPE channel command. Recovery Manager Oracle server session SBT library Preauthorized RMAN user OS user oracle Host Oracle Backup user Backup or restore Administrative observiced 1 2 3 4 5 4 The Oracle server session runs under OS user oracle. Local observiced

29 F-29 Copyright © 2006, Oracle. All rights reserved. Database Backup Storage Selector Name Database names & IDs Content Copy numberMedia family Hosts & Restrictions Expire duration Wait time Database Backup Storage Selector

30 F-30 Copyright © 2006, Oracle. All rights reserved. RMAN and Oracle Secure Backup: Usage Model Install Oracle software. Install Oracle Secure Backup software. Create user with necessary rights. Create media family. Create database storage selector. Allocate SBT channel.

31 F-31 Copyright © 2006, Oracle. All rights reserved. Defining Database Storage Selector

32 F-32 Copyright © 2006, Oracle. All rights reserved. Testing Your Tape Drives

33 F-33 Copyright © 2006, Oracle. All rights reserved. Scheduling Backups by Using EM Database Control

34 F-34 Copyright © 2006, Oracle. All rights reserved. Oracle-Suggested Strategy for Backups

35 F-35 Copyright © 2006, Oracle. All rights reserved. Managing Tape Backups

36 F-36 Copyright © 2006, Oracle. All rights reserved. Performing Database Recovery by Using Tape Backups

37 F-37 Copyright © 2006, Oracle. All rights reserved. Backing Up File System Files with Oracle Secure Backup Two ways of backing up data –On-demand backups –Scheduled backups Two types of backup –Full: All specified files –Incremental: Only files that have changed since the last lower backup 012323 Backup level Up to nine levels Full

38 F-38 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Web Tool

39 F-39 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Data Set Scripts Textual description that defines which files to back up Examples found in the samples directory / usr2usr1usr3 usr4 home labs file2.txtfile1.tmp stc1stc2stc3 tmpfile1.temp labs tmp file2.junk labs Structure to back up (example)

40 F-40 Copyright © 2006, Oracle. All rights reserved. Data Set Script: Examples # Dataset "common-exclusions": exclude name tmp exclude name *.tmp exclude name *.temp exclude name *~ include path /home/usr1 include path /home/usr2 include host stc1 include host stc2 include host stc3 { include dataset common-exclusions include path /home/usr3 before backup optional "/etc/local/nfy '/usr3 begin'" after backup optional "/etc/local/nfy '/usr3 end'" include path /home/usr4 { exclude name *.junk }

41 F-41 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup view Data Set Organization /usr/local/oracle/backup config dataset admin NEWCLIENTS / Data set directories and files NEWCLIENTS Data set directories and files Pre- created Top-level data set directory OS view ……

42 F-42 Copyright © 2006, Oracle. All rights reserved. Creating Data Sets Using the Web Interface

43 F-43 Copyright © 2006, Oracle. All rights reserved. File System Files: Backup Concepts Backup window Backup trigger Backup schedule When can jobs be executed? When should a job execute? What is the job?

44 F-44 Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Jobs Backups using data sets: –Data set jobs: One for each data set request –Backup jobs: One for each impacted host for each data set job File system file restores: –Restore jobs: One for each needed backup image RMAN jobs For each job, Oracle Secure Backup maintains: –A log –A running transcript

45 F-45 Copyright © 2006, Oracle. All rights reserved.

46 F-46 Copyright © 2006, Oracle. All rights reserved. Creating On-Demand Backup Requests

47 F-47 Copyright © 2006, Oracle. All rights reserved. Sending Backup Requests to the Scheduler

48 F-48 Copyright © 2006, Oracle. All rights reserved. Creating Backup Schedules

49 F-49 Copyright © 2006, Oracle. All rights reserved. Creating Backup Triggers

50 F-50 Copyright © 2006, Oracle. All rights reserved. Viewing Job Properties and Transcripts

51 F-51 Copyright © 2006, Oracle. All rights reserved. Restoring File System Files with Oracle Secure Backup Two ways for restoring data Catalog-based restore: Based on catalog backups history Raw restore: Based on your memory

52 F-52 Copyright © 2006, Oracle. All rights reserved. Creating a Catalog-Based Restore Request

53 F-53 Copyright © 2006, Oracle. All rights reserved. Creating a Catalog-Based Restore Request

54 F-54 Copyright © 2006, Oracle. All rights reserved.

55 F-55 Copyright © 2006, Oracle. All rights reserved. Sending Catalog-Based Restore Requests to the Scheduler

56 F-56 Copyright © 2006, Oracle. All rights reserved. Listing All Backups of a Client

57 F-57 Copyright © 2006, Oracle. All rights reserved. Summary In this lesson, you should have learned how to: Describe the Oracle Secure Backup architecture and how it benefits your environment Discuss basic Oracle Secure Backup media management concepts Install and configure Oracle Secure Backup Use RMAN and Oracle Secure Backup to back up and restore the Oracle database Use Oracle Secure Backup to back up and restore file system files

58 F-58 Copyright © 2006, Oracle. All rights reserved.


Download ppt "F Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup."

Similar presentations


Ads by Google