Well I got to the bottom of this, the mminfo -X shows the actual amount of data sent to the backup media and the
" mminfo -av -r 'savetime,totalsize' " tells you the actual amount of data BEFORE compression from the client side.
So both numbers are correct.
I actully found this on the Legato Web site!!!!!!!!
Solution Title: Questions about mminfo -X
Solution ID: legato19292
Here is the solution:
1. To calculate, roughly, how many bytes of data to be backup:
# savegrp -n -E -l full -c <client> -G <group>
For example, place a roughly 4.5 megabyte log file in D:\testlog
2. Run the above command
C:\>savegrp -n -E -l full -c liszt -G Default
liszt.legato.com

:\testlog 5 records 1 KB header 4492 KB data
liszt.legato.com

:\testlog 4493 KB estimated
liszt.legato.com:index:ef8cab46-00000004-3cde1b28-3cde1b26-00020000-89456633 3 records 1 KB header 2 KB data
liszt.legato.com:index:ef8cab46-00000004-3cde1b28-3cde1b26-00020000-89456633 2 KB estimated
As you can see , it shows 4493 KB
3. Backup the file with NT "Compression" Directives turn on.
4. Run mminfo -X command
C:\>mminfo -X -q "name=D:\testlog"
Save Set Type Summary:
1 save sets 7 files 7/ss 918 KB 918 KB/ss 131 KB/file
1 full 7 files 7/ss 918 KB 918 KB/ss 131 KB/file
0 incremental
0 intermediate
0 ad-hoc
0 archive
0 migration
0 empty
0 purged
0 index
0 incomplete
Recent Save Set Usage Summary:
1 today 7 files 7/ss 918 KB 918 KB/ss 131 KB/file
0 5/28/02
0 5/27/02
0 5/26/02
0 5/25/02
0 5/24/02
0 5/23/02
The 918 KB is the actual bytes stored in the "TAPE" volume.
Because the saveset was compressed.
So in summary
=============
1. Use savegrp -n -E to look at how much data reside in OS that will be backup.
2. The totalsize in mminfo -X corresponds to the number in which the size of the saveset are KEPT/occupy in the TAPE volume.
Here is the problem or goal:
mminfo -X output
Calculate bytes to be backed up
Use savegrp -n -E -l to calculate data bytes to back up
Problem Environment:
NetWorker for UNIX
mminfo
savegrp
Ed Skolnik