- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Block count for scheduled SAM system backup...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2002 07:10 AM
06-02-2002 07:10 AM
Block count for scheduled SAM system backup...
I looked at file /var/sam/log/br_index.full which contains individual file block counts, but I did not see a total at the end. Anyone knows if there is actually a log that tracks this information or do I have to create my own script based on what is in br_index.full to get that number?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2002 07:23 AM
06-02-2002 07:23 AM
Re: Block count for scheduled SAM system backup...
I suspect you're running 10.20. With 11.x, 'fbackup' reports a total at it's completion.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2002 07:28 AM
06-02-2002 07:28 AM
Re: Block count for scheduled SAM system backup...
I did scheduled it through SAM so that it will send an email to me, but I have no idea of what information the email will contain because I have not ran it yet!
Oh, one more thing, I just realized the contents of /var/sam/log/br_index.full are in byte size and not blocks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2002 08:04 AM
06-02-2002 08:04 AM
Re: Block count for scheduled SAM system backup...
OK, I just checked a 10.20 and an 11.0 server of mine. On 11.x , if you arm the 'v'erbose option of 'fbackup' and collect it's output, you will see the *block* count associated with each file copied, and a total at the end. In fact, you will find a both a total read and a total write block count.
Unfortunately, on 10.20 these block counts are not included.
On either 10.x or 11.x, you get a beginning time for the backup and the total number of seconds for the run using the 'v'erbose mode.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2002 08:21 AM
06-02-2002 08:21 AM
Re: Block count for scheduled SAM system backup...
# fbackup -f /dev/rmt/0m -I /tmp/Index
# TOT=0
# for i in `cat /tmp/Index|awk '{print $1}'`
>do
>((TOT=$TOT+$i))
>done
# echo $TOT
The total will be in bytes. Just a thought...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2002 09:34 AM
06-02-2002 09:34 AM
Re: Block count for scheduled SAM system backup...
Kbyte count:
cat /var/sam/log/br_index.full | awk 'BEGIN {total=0} {total+=$1} END {printf("%.2f Kb|n", total/1024)}'
Block count:
cat /var/sam/log/br_index.full | awk 'BEGIN {total=0} {total+=$1} END {printf("%.0f Blocks|n", total/512)}'
Substitute the pipe (|) after Kb and Blocks with a backslash. Apparently, the backslash does not reflect on the forum messages (Let's see, here is one "\")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2002 10:42 AM
06-02-2002 10:42 AM
Re: Block count for scheduled SAM system backup...
One more thing you might find useful. If you look at '/var/adm/fbackupfiles/dates' you will see (for each backup type) a couplet of lines that looks like:
/var/adm/fbackupfiles/graphs/backup_full 0 1022976196 1022986513
STARTED: Sat Jun 1 20:03:16 2002 ENDED: Sat Jun 1 22:55:13 2002
Hence, from this, you have a record of the start and stop times, and if you subtract the raw timestamps (seconds since the Epoch) on the first line, you have the number of seconds for which the session ran.
In fact all the information you need for start, stop and elapsed time can be obtained from the first line. For instance, from the above actual data:
# echo "0d1022976196=Y"|adb
...yields: 2002 Jun 1 20:03:16
Regards!
...JRF...
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2002 10:48 AM
06-02-2002 10:48 AM
Re: Block count for scheduled SAM system backup...
Full backup started on
{ fbackup -0 -u -g /etc/sam/br/graphBDAa11065 -I /var/sam/log/br_index.full -
c /etc/sam/br/fbackup_config -d /var/adm/fbackupfiles/dates -f /dev/rmt/1m } 2>&1
Full backup completed with warnings on
Exit code = 4