Cadet 3rd Class
Cadet 3rd Class
498 views

Create a backup specification using CLI

1) What is the command (CLI in UNIX) to create a backup specification in DP (not through GUI) ?

2) What is the command to view the properties of a backup specification ?

Thanks.
0 Likes
2 Replies
Absent Member.
Absent Member.

"1) What is the command (CLI in UNIX) to create a backup specification in DP (not through GUI) ?"

define "backup specification" as you are using the term.

Datalists, which are plain-text files which define what objects to backup. See the "omnicreatedl" command.

Schedules, which are plain-text files, define when to run the associated datalist. I don't know of a command line option for this.

You have the option of using the command-line to start a datalist interactively, which may (or may not) be what you are asking about. See the "omnib" command.

The command line reference can be found in the docs\CLIreference.pdf on the cell manager, clients w/ the GUI installed or a 6.1 version is here:
http://h41112.www4.hp.com/promo/imhub/library/manuals/dp/CLIReference.pdf

as far as the noted commands, there doesn't appears to be any substantive differences from 6.1 bach to at least 5.5

I'm not sure I understand the hesitance / reluctance to use the GUI for this task.

"2) What is the command to view the properties of a backup specification ?"

huhhh, what properties are you looking for. Same issue as above, you need to define your terms. As noted above, the schedule and datalist are both plain text. Also, depending on *what* you are looking for, some of the reports generated by "omnirpt" may be of use. Its also documented in the CLIreference.pdf
0 Likes
Absent Member.
Absent Member.

Hi

Use the command omnicreatedl to craete a datalist.

#omnicreatedl -datalist -host -device

this will create the backup specification as
/etc/opt/omni/datalists/

HELP with

#omnicreatedl -help
and
#man omnicreatedl
this will create a backup with all file systems.
you can get the backup devices with
# omnidownload -list_devices -detail

you can use the above posted PDF which has CLI info. This PDF is really good.

best way to view the backup specification is to go to /etc/opt/omni/datalist and view the file.

regs

WCI
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.