Quantcast
Channel: All Data Protector Practitioners Forum posts
Viewing all articles
Browse latest Browse all 10494

omnidb command shows incorrect object size

$
0
0

Hello Members,

 

 

I am trying to automate some tasks by putting these commands in a script and the truncated values are causing havoc.

 

 

example.

 

[root@linux ~]# /opt/omni/bin/omnidb -winfs server.com:/C 'C' -session 2013/07/18-45 -catalog

Protection    Owner    Group       Size    Time              Path

===============================================================================

d----w----       -2  nogroup          0 07/18/2013 01:00:29  /Directory/

----r-----       -2  nogroup 3621799557 07/18/2013 09:17:26  /Directory/subdirectory/bigfile12345

----r-----       -2  nogroup  568761344 07/18/2013 04:06:42  /Directory/bigfile234567

----r-----       -2  nogroup 1504827392 07/18/2013 01:03:36  /Directory/bigfile3456789

----r-----       -2  nogroup 1116760064 07/18/2013 01:26:02  /Directory/bigfile4

 

 

Though the $COLUMNS variable automatically changes according to the size of my terminal window, Dataprotector commands seem to have a fixed $COLUMNS value irrespective of the terminal window size.

 

Above, the "Size" column gets truncated. (due to lack of columns?).

The "/Directory/subdirectory/bigfile12345" is actually 36 GB but if you take the above value, it comes to 3.6 GB. The DP GUI shows perfect values, but I specifically need to use the CLI here.

 

And note - here, the paths of the backed-up files continue beyond the header.

 

I have tried explicitly setting the $COLUMNS variable then running this command - with the same results.

 

export COLUMNS=200

echo $COLUMNS

omni...

 

I have also tried putting these commands in a script and redirecting its output to a file - exactly the same results.

 

Anyone who faced similar problems? Any solution or workaround or alternatives?

 

Thanks in advance :-)


Viewing all articles
Browse latest Browse all 10494

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>