EasyManuals Logo

Oracle Secure Backup User Manual

Default Icon
174 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #80 background imageLoading...
Page #80 background image
Using obtool
4-12 Oracle Secure Backup Installation and Configuration Guide
Running obtool Commands in Interactive Mode
You can enter the commands described in Oracle Secure Backup Reference at the obtool
prompt. For example, the lshost command displays information about the hosts in
your administrative domain:
ob> lshost
brhost2 client (via OB) in service
brhost3 mediaserver,client (via OB) in service
br_filer client (via NDMP) in service
stadv07 admin,mediaserver,client (via OB) in service
Redirecting obtool Input from Text Files
You can use the < command in interactive mode to read text files containing multiple
obtool commands. For example, you can create a file called my_script.txt with
multiple obtool commands and redirect the obtool input to this script as follows:
ob> < /my_dir/my_script.txt
obtool runs the commands from the file and then returns to the ob> prompt for your
next command.
Executing obtool Commands in Noninteractive Mode
You can run obtool in noninteractive mode from the Linux or UNIX shell or from the
Windows command prompt with arguments that specify the command to run.
obtool runs the specified command immediately and exits. Use the following syntax:
obtool [ cl-option ]... command-name [ option ]... [ argument ]...
The following example runs the lshost command and then returns to the operating
system prompt:
% obtool lshost
Output of command: lshost
brhost2 client (via OB) in service
brhost3 mediaserver,client (via OB) in service
br_filer client (via NDMP) in service
stadv07 admin,mediaserver,client (via OB) in service
%
Running Multiple Commands in Noninteractive Mode
You can run multiple commands in one invocation of obtool by separating the
commands with a semicolon on the command line.
Redirecting Input in Noninteractive Mode
You can use the < command in noninteractive mode to read text files containing
multiple obtool commands. For example, you can create a file called my_script.txt
Note: Follow the quoting conventions of your host operating system
shell or command line interpreter when entering a semicolon in the
command line. For example, in a bash shell session, quote the
semicolon as follows:
$ obtool lshost ';' lsdev

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Oracle Secure Backup and is the answer not in the manual?

Oracle Secure Backup Specifications

General IconGeneral
CompressionYes
Tape Library SupportYes
Web InterfaceYes
Command Line InterfaceYes
SchedulingYes
ReportingYes
Role-Based Access ControlYes
NDMP SupportYes
Virtual Tape Library SupportYes
Operating Systems SupportedLinux, Windows, Solaris, AIX, HP-UX
Backup MethodsFull, Incremental, Differential
Media SupportTape, Disk
Database SupportOracle Database
EncryptionAES 256-bit
Centralized ManagementYes
Cloud IntegrationOracle Cloud