This article describes how to prepare a Linux operating system for backing up an Oracle database environment.
Xopero ONE agent requires the availability of the rman and sqlplus tools. Before starting, ensure that these tools are installed and accessible.
Using the Linux command line, log in to the account used for backing up your Oracle database and execute the following commands:
echo 'connect target /; quit' | rmanecho 'SELECT INSTANCE_NAME FROM V$INSTANCE;' | sqlplus / as sysdbaIf these tools are unavailable (example below) you need to configure the environment variables.
Edit the /home//.bash_profile file and add the following records:
Now, after logging in again, executing the following commands should complete successfully.
Once done, your Linux system should now be ready to backup an Oracle environment.
export ORACLE_SID=<database_ID>export ORACLE_HOME=database_directoryexport PATH=$ORACLE_HOME/bin:$PATHecho 'connect target /; quit' | rmanecho 'SELECT INSTANCE_NAME FROM V$INSTANCE;' | sqlplus / as sysdbaThe database_directory specifies the location of the Oracle database.


