Sponsored Content
Full Discussion: Perl netbackup script?
Top Forums Shell Programming and Scripting Perl netbackup script? Post 302384025 by jld on Monday 4th of January 2010 06:07:14 AM
Old 01-04-2010
Thanks, I will check tomorrow iff the script will works now.

---------- Post updated 04-01-10 at 12:06 PM ---------- Previous update was 03-01-10 at 03:39 PM ----------

The script works, but there are errors at the beginning when I ran the script.

bash-3.00# ./test
Name "main:SmilieATA" used only once: possible typo at ./test line 2.
Use of uninitialized value in substitution (s///) at ./test line 11, <LINKLIST> line 1.
Use of uninitialized value in substitution (s///) at ./test line 12, <LINKLIST> line 1.
Use of uninitialized value in printf at ./test line 13, <LINKLIST> line 1.
Use of uninitialized value in printf at ./test line 13, <LINKLIST> line 1.

---------- Post updated at 12:07 PM ---------- Previous update was at 12:06 PM ----------

Name "main:: DATA" used only once: possible typo at ./test line 2.
Use of uninitialized value in substitution (s///) at ./test line 11, <LINKLIST> line 1.
Use of uninitialized value in substitution (s///) at ./test line 12, <LINKLIST> line 1.
Use of uninitialized value in printf at ./test line 13, <LINKLIST> line 1.
Use of uninitialized value in printf at ./test line 13, <LINKLIST> line 1.
 

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
while(3tcl)						       Tcl Built-In Commands						       while(3tcl)

__________________________________________________________________________________________________________________________________________________

NAME
while - Execute script repeatedly as long as a condition is met SYNOPSIS
while test body _________________________________________________________________ DESCRIPTION
The while command evaluates test as an expression (in the same way that expr evaluates its argument). The value of the expression must a proper boolean value; if it is a true value then body is executed by passing it to the Tcl interpreter. Once body has been executed then test is evaluated again, and the process repeats until eventually test evaluates to a false boolean value. Continue commands may be exe- cuted inside body to terminate the current iteration of the loop, and break commands may be executed inside body to cause immediate termi- nation of the while command. The while command always returns an empty string. Note: test should almost always be enclosed in braces. If not, variable substitutions will be made before the while command starts execut- ing, which means that variable changes made by the loop body will not be considered in the expression. This is likely to result in an infinite loop. If test is enclosed in braces, variable substitutions are delayed until the expression is evaluated (before each loop iter- ation), so changes in the variables will be visible. For an example, try the following script with and without the braces around $x<10: set x 0 while {$x<10} { puts "x is $x" incr x } EXAMPLE
Read lines from a channel until we get to the end of the stream, and print them out with a line-number prepended: set lineCount 0 while {[gets $chan line] >= 0} { puts "[incr lineCount]: $line" } SEE ALSO
break(3tcl), continue(3tcl), for(3tcl), foreach(3tcl) KEYWORDS
boolean value, loop, test, while Tcl while(3tcl)
All times are GMT -4. The time now is 06:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy