Oracle Backup
From IASO Wiki
Contents |
Oracle client configuration
Oracle client installation
- Download it from oracle site (select your OS and click See All).
- Install it choosing Administrator installation type.
- Add ORACLE_HOME environment variable (e.g. n:\app\bob.jates\product\11.2.0\client_1).
- Add %ORACLE_HOME%\bin to PATH environment variable (e.g. add ;%ORACLE_HOME%\bin to the end of PATH environment variable) for the system variables.
- Restart your computer to apply PATH value to system account.
- Ensure that Oracle was configured properly:
- run Command Prompt (e.g. cmd.exe);
- run command rman in Command Prompt (you should see RMAN> in command prompt, then click Ctrl+C to exit);
- run command sqlplus.exe in Command Prompt (you should see Enter user-name: in command prompt, then click Ctrl+C to exit).
Note:
We don't recommend to setup Oracle Client and IASO Client to the server with Oracle data bases.
Connection to database configuration
1. Edit file %ORACLE_HOME%\network\admin\tnsnames.ora (e.g. with notepad). It should look like:
ORCL1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE_HOST)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl1.solaris.iaso.local)
)
)
where
- ORCL1 is Oracle TNS alias,
- ORACLE_HOST is host name or IP where Oracle database is running,
- 1521 is Oracle database Listener port,
- orcl1.solaris.iaso.local is database service name.
2. Edit file %ORACLE_HOME%\network\admin\sqlnet.ora (e.g. with notepad). It should look like:
SQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
We have two ways to do it:
First way is:
- Configure Backup Service Controller to run with Administrator account permissions.
- Login to Windows under an Administrator account.
- Add network share:
> net use o: \\oracle_host\oracle\app\oracle\backup /persistent:yes
Second way is:
- Download Sysinternals PSExec toolset from here http://technet.microsoft.com/en-us/sysinternals/bb897553.
- Extract downloaded archive to folder.
- Run following Windows Command Prompt: cmd.exe.
- Change Command Prompt directory to folder from point 2: cd "directory"
- Start another cmd.exe with SYSTEM account using PSExec tool: psexec -i -s cmd.exe. You will see new console window. We'll write all commands into this console window.
- Run following command in newely created console window: net use o: \\oracle_host\oracle\app\oracle\backup /persistent:yes. This command will attach network share to O: drive for SYSTEM account.
IASO2012 Client configuration
- Open Oracle Databases tab in IASO2012 Client:

- Add server credentials (e.g. ORCL1, admin, password, o:\, where ORCL1 is TNS alias specified in tnsnames.ora file, admin is Oracle account name with SYSDBA permissions, password is account password, o:\ is path to mounted network share.

- Go to backup tree and try to expand Oracle databases node. Now you can do a backup.

| Functions and Features | ||
|---|---|---|
| Backup | 2-Tier Backup • Advanced Scheduling • Pre-/Post-Backup Scripts | Microsoft Exchange • Microsoft SharePoint • Microsoft SQL Databases • Oracle Databases • VMware Virtual Machines |
| Restore | LocalSpeedVault • Restore Cache • Restore on Desktop • VMware Per File Restore | |
| Management | Audit • Color Coding • Console • Remote Commands • Remote Installation • Saved Connections • Users | |
| Other | Archiving • Bandwidth Throttling • Branding and Deep Branding • Common Files • Virtual Drive | |