[Veritas-bu] command to figure out size of all backups in a given period

2010-07-28 Thread NBU
Hi Harpreet, Can we have the script pasted here. +-- |This was sent by qureshiu...@rediffmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com.

Re: [Veritas-bu] command to figure out size of all backups in a given period

2010-07-28 Thread Harpreet SINGH
Dear All, Please find attached the requested script. (See attached file: Net_Backup_Total_Report.sh) With Warm Regards =-=-=-=-=-=-=-=-=-=-=-=-=- Harpreet Singh Chana Phone : (O) 6895 - 4326 Fax : (O) 6895 - 4991 =-=-=-=-=-=-=-=-=-=-=-=-=- Please do not print this email unless

[Veritas-bu] command to figure out size of all backups in a given period

2010-07-15 Thread ddobek
I am using NBU 6.0 on a unix mst/media server, and i need to find out the size of all backups in a given week. I need to request disk size to have backups written to, as we change from using tape to disk for storage. i can use either the gui or command line, CLI is my preference is there is a

Re: [Veritas-bu] command to figure out size of all backups in a given period

2010-07-15 Thread Heathe Yeakley
How much data was backed up in the last week - /usr/openv/netbackup/bin/admincmd/bpimagelist -U -hoursago 336 How much data was backed up on April 26th - /usr/openv/netbackup/bin/admincmd/bpimagelist -U -d 04/26/02 00:00:00 -e 04/27/02 00:00:00 How much data was backed up on client XYZ in the

Re: [Veritas-bu] command to figure out size of all backups in a given period

2010-07-15 Thread Ed Wilts
On Thu, Jul 15, 2010 at 1:25 AM, ddobek netbackup-fo...@backupcentral.comwrote: I am using NBU 6.0 on a unix mst/media server, and i need to find out the size of all backups in a given week. I need to request disk size to have backups written to, as we change from using tape to disk for

Re: [Veritas-bu] command to figure out size of all backups in a given period

2010-07-15 Thread judy_hinchcliffe
I have a unix script that emails me the Total. z=0 for x in $(/usr/openv/netbackup/bin/admincmd/bpimagelist -U -hoursago 64 | grep -v ^[KB-] | awk '{ print $5 }') do z=$(( $x + z )) done echo $z | /usr/bin/mail -s Production Weekend Backups someonewhoca...@domain.com set z to 0 so we start

Re: [Veritas-bu] command to figure out size of all backups in a given period

2010-07-15 Thread Dean
I don't have access to a system right now, so this is just of the top of my head, but to get the total GB backed up in the last day, I use : bpimagelist -hoursago 24 |grep IMAGE|awk '{total+=$19}END{print total/1024/1024}' ... or something like that. To look at the last week, just change the

Re: [Veritas-bu] command to figure out size of all backups in a given period

2010-07-15 Thread Harpreet SINGH
Dear All, May be this will help you. (See attached file: Net_Backup_Total_Report.sh) With Warm Regards =-=-=-=-=-=-=-=-=-=-=-=-=- Harpreet Singh Chana Phone : (O) 6895 - 4326 Fax : (O) 6895 - 4991 =-=-=-=-=-=-=-=-=-=-=-=-=- Please do not print this email unless it is