Absent Member.
Absent Member.
3043 views

List DP backup size using omnidb command

Hi ,

 

I would like to know that using omnidb command is it possible to list the size of the backup if I know the backup session id ?  Please provide the example command synatx .

 

If not , what other  command can be used to check the backup size .

 

0 Likes
5 Replies
Micro Focus Expert
Micro Focus Expert

omnidb  -rpt 2012/07/02-1 -detail will do the job.

 

Regards,

Sebastian

---
Please use the Like button below, if you find this post useful.
0 Likes
Absent Member.
Absent Member.

Thanks Sebastian for that command .  I will try that .

 

 

One more query ,  can we list the backup session for the last "n" days  (where n= 1 ,2 ..so on) along with the size of the each backup .  In case if I want to list the Oracle8 backups  for the last "n" days along with the backup size , then what would be command ?

 

 

 

 

 

 

 

 

0 Likes
Absent Member.
Absent Member.

any help is appricaited . Kindly help me on this.  Thanks.

0 Likes
Absent Member.. Absent Member..
Absent Member..

Hi,

 

this would be possibel, buit you need to write a script for that. You need to retrieve the session ID's first and then retrieving the backup size with the command Sebastian mentioned.

 

Best regards

Daniel

-----------
Please assign Kudos - How to assign...
0 Likes
Absent Member.
Absent Member.

This might also work for you

 

      omnirpt -report session_statistics -timeframe [start date] [finish date] -log [filename]

 

The timeframe can be stated either in absolute terms, for example

 

      omnirpt -report session_statistics -timeframe 2014/01/21 00:01 2014/01/27 23:59 -log C:\week_4_stats.txt

 

or in relative terms based on the time the command is issued

 

      omnirpt -report session_statistics -timeframe 72 72 -log C:\3_days.txt

 

You can add an argument '-tab' to seperate the fields with 'tab' characters, which will preent truncating of a field, and make the report suitable for import into Excel

 

     omnirpt -report session_statistics -timeframe 72 72 -tab -log C:\3_days.txt

 

or, if you want the output file in a nice HTML format

 

     omnirpt -report session_statistics -timeframe 72 72 -html -log C:\3_days.htm

 

There are also filters to include only certain datalists, or to exclude what you don't want.  All of this can be found in the CLI (Command Line Interpreter) Guide in the GUI by clicking 'Help -> Guides'

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.