Sponsored Content
Full Discussion: Perl netbackup script?
Top Forums Shell Programming and Scripting Perl netbackup script? Post 302383719 by jld on Thursday 31st of December 2009 04:04:00 AM
Old 12-31-2009
Tapelog.txt

Code:
Client:            babbage
Backup ID:         babbage_1262120428
Policy:            Unix
Policy Type:       Standard (0)
Proxy Client:      (none specified)
Creator:           NetBackup
Name1:             (none specified)
Sched Label:       Incrs
Schedule Type:     INCR (1)
Retention Level:   1 month (3)
Backup Time:       Tue Dec 29 22:00:28 2009 (1262120428)
Elapsed Time:      103 second(s)
Expiration Time:   Fri Jan 29 22:00:28 2010 (1264798828)
Compressed:        no
Client Encrypted:  no
Kilobytes:         32
Number of Files:   0
Number of Copies:  1
Number of Fragments:   1
Histogram:         -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
DB Compressed:     no
Files File Name:   Unix_1262120428_INCR.f
Previous Backup Files File Name:   (none specified)
Parent Backup Image File Name:   (none specified)
SW Version:        (none specified)
Options:           0x0
MPX:               1
TIR Info:          0
TIR Expiration:    Thu Jan 01 01:00:00 1970 (0)
Keyword:           (none specified)
Ext Security Info: no
File Restore Raw:  no
Image Dump Level:  0
File System Only:  no
Object Descriptor: (none specified)
Previous BI Time:  Thu Jan 01 01:00:00 1970 (0)
BI Full Time:      Thu Jan 01 01:00:00 1970 (0)
Request Pid:       0
Backup Status:     0
Stream Number:     5
Backup Copy:       Standard (0)
Files File size:     447
PFI type:     0
IMAGE_ATTRIBUTE:     0
Primary Copy:      1
Image Type:        0  (Regular)
Job ID:            89629
Num Resumes:       0
Resume Expiration: Thu Jan 01 01:00:00 1970 (0)
Data Classification:    (none specified)
Data_Classification_ID: (none specified)
Storage Lifecycle Policy:    (none specified)
STL_Completed:      0
Snap Time:      Thu Jan 01 01:00:00 1970 (0)
Copy number:       1
 Fragment:         1
 Kilobytes:        32
 Remainder:        512
 Media Type:       Media Manager (2)
 Density:          hcart2 (14)
 File Num:         28
 ID:               H445L2
 Host:             thor
 Block Size:       524288
 Offset:           23917
 Media Date:       Sat Dec 26 00:00:11 2009 (1261782011)
 Dev Written On:   0
 Flags:            0x0  
 Media Descriptor:        ?
 Expiration Time:  Fri Jan 29 22:00:28 2010 (1264798828)
 MPX:              1
 retention_lvl:    1 month (3)
 Try to Keep Time:  Thu Jan 01 01:00:00 1970 (0)
 Copy Creation Time:  Tue Dec 29 22:02:11 2009 (1262120531)
 checkpoint:       0
 resume num:       0
 Key tag:          *NULL*

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Veritas NetBackup

Veritas NetBackup, how does it work?? I mean, I know it is used for backups and restores but really, can anybody give me a brief or any explanation that sums up basically what it is about besides the fact that it does backups and restores??? Please, if you have any information, I would appreciate... (2 Replies)
Discussion started by: TRUEST
2 Replies

2. Filesystems, Disks and Memory

Netbackup question

Hello, I am setting up scripts to do shadow image backups but have found a pitfall I cannot figure out how to work around. Basically what I need to figure out is how to launch a bunch of bpbackups, and then have the script pause until all of the children have exited. The problem is that bpbackup... (2 Replies)
Discussion started by: 98_1LE
2 Replies

3. Solaris

Netbackup on Solaris 8

Hi, Anyone know netbackup 3.4 on Solaris 8 . Currently I use root to perform backup / monitoring ...etc . Can I create a user call "backup" and perform the same task What permission should I give the "backup" user . (1 Reply)
Discussion started by: civic2005
1 Replies

4. HP-UX

Netbackup Installation

Hello all. I have a HP-UX 11.11 system that I need to install Netbackup 6.5 onto. After I mount the cd drive and run the 'install' command, it comes back with the following error: usage: install file WHAT options is it talking about? When I look at the documentation from Netbackup, it... (4 Replies)
Discussion started by: impunchdrunk
4 Replies

5. Filesystems, Disks and Memory

Netbackup Questions

I have 2 questions maybe those netbackup experts and gurus in the house can help. Firstly, is there a particular location maybe under /usr/openv where I can find a diretory or file which contains all the backup policy information, so lets say If someone were to physically delete all the... (3 Replies)
Discussion started by: sparcguy
3 Replies

6. UNIX for Dummies Questions & Answers

Netbackup 6 Question

What is the command to find out if a policy has been run and if it has the date it was last run? (0 Replies)
Discussion started by: mr_crosby
0 Replies

7. Solaris

veritas netbackup

Hi All, We are currently running Veritas netbackup. We are currently having a few issues where were unable to log in due to several errors. Out usual fix for this is to recycle the backup servers however due to the nature of the information being backed up this is done by someone else and... (1 Reply)
Discussion started by: rickyclayton201
1 Replies

8. UNIX for Dummies Questions & Answers

Netbackup Report

Would I be able to get the report (text format) of an activity monitor view of a netbackup via command line? I am trying to make a script out of it that would be run daily an be saved in a txt document which would could be viewed for history purpose. I need minimal details only like policy name,... (0 Replies)
Discussion started by: ryan_estiya
0 Replies

9. Shell Programming and Scripting

Netbackup Perl Script

please let me know if you can help me out. I need to modify a perl netbackup script to do the following. Will need to enhance a script to do the following: to initiate an incremental during the week and a full only during the weekend. to check if there is another full currently running... (0 Replies)
Discussion started by: Lia123
0 Replies

10. Programming

PERL: In a perl-scripttTrying to execute another perl-script that SETS SOME VARIABLES !

I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open()) I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies
Time::gmtime(3pm)					 Perl Programmers Reference Guide					 Time::gmtime(3pm)

NAME
Time::gmtime - by-name interface to Perl's built-in gmtime() function SYNOPSIS
use Time::gmtime; $gm = gmtime(); printf "The day in Greenwich is %s ", (qw(Sun Mon Tue Wed Thu Fri Sat Sun))[ $gm->wday() ]; use Time::gmtime qw(:FIELDS); gmtime(); printf "The day in Greenwich is %s ", (qw(Sun Mon Tue Wed Thu Fri Sat Sun))[ $tm_wday ]; $now = gmctime(); use Time::gmtime; use File::stat; $date_string = gmctime(stat($file)->mtime); DESCRIPTION
This module's default exports override the core gmtime() function, replacing it with a version that returns "Time::tm" objects. This object has methods that return the similarly named structure field name from the C's tm structure from time.h; namely sec, min, hour, mday, mon, year, wday, yday, and isdst. You may also import all the structure fields directly into your namespace as regular variables using the :FIELDS import tag. (Note that this still overrides your core functions.) Access these fields as variables named with a preceding "tm_" in front their method names. Thus, "$tm_obj->mday()" corresponds to $tm_mday if you import the fields. The gmctime() function provides a way of getting at the scalar sense of the original CORE::gmtime() function. To access this functionality without the core overrides, pass the "use" an empty import list, and then access function functions with their full qualified names. On the other hand, the built-ins are still available via the "CORE::" pseudo-package. NOTE
While this class is currently implemented using the Class::Struct module to build a struct-like class, you shouldn't rely upon this. AUTHOR
Tom Christiansen perl v5.18.2 2013-11-04 Time::gmtime(3pm)
All times are GMT -4. The time now is 04:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy