I asked this question in Powershell forum but I didn't receive any help, so trying Perl now
I have file with data like this:
++++++++++++++++Input file +++++++++++++++++++++++++++++
User Name: Power DBA
Description:
Role: Power DBA
Last Login Date: Jul 1, 2011 4:54:18 PM
User Name: Power...
Need help on Powershell
I have file with data like this:
++++++++++++++++Input file +++++++++++++++++++++++++++++
User Name: Power DBA
Description:
Role: Power DBA
Last Login Date: Jul 1, 2011 4:54:18 PM
User Name: Power User
Description: Admin Team
Role...
Hi Netbackup Gurus,
I have a question about limiting where the restore can be send to. I have given OPS the bp -r option so when the login they will be taken to recovery menu. Sometimes they forget to change the destination directory ( they have a dedicated restore directory to send all the...
I have two files
File1
filer_xxxxx_Wed_Full
/vol/vol1/qtree
....
....
File2
/vol/vol1/qtree
I want read File2 and if the line in File2 matches a line in File1 then print the line previous to matching line.
I tried with this command
for ln in `cat /tmp/File2`; do nawk -v var=$ln...
Dear Gurus,
I have an output like this:
fcp 1
aaaaaaaaaaaa
bbbbbbbbbbbb
1:2:3:4
dddddddd
fcp 2
vvvvvvvvvvvvvv
2:4:0:5:9:9
ccccccccccccccc
bbbbbbbbbbbbbbb
I want to print line 2 and line 3 next to each other
ex: bbbbbbbbbbbb 1:2:3:4
How could I do this?
Thanks again
Hi Guys,
I am new to backup exec and Win. I need to get a list of tapes used in previous night and email that to me. How could I do it?. Can I use bemcmd or any other?
Thanks
Hi Scripting Gurus,
I got this script from internet. Script is fine when I run as a stand alone. I need to embed it into my script as a function to get yesterday/day before yesterday and so on... But it fails when called as function.
*********************************************************
#...
How can I embed a HTML formated file into email via perl on SOlaris. When I print it into email it prints like
/font></TD>
<TD WIDTH = 2% BGCOLOR = #F0F0F0> </TD> <TD ALIGN = LEFT WIDTH = 45% BGCOLOR = #F0F0F0> <font size = 2 face = 'Courier New' color = navy> <U>OW REQUESTS (IAPF940)</U>...
Hi NB Gurus,
I have Solaris 10 NB Enterprise server connected to ST L700 that has 3 FC tape drives. I backup 100+ Win, 30 Unix/Linux and 30+ NDMP (tape drives are shared to a NAS filer through tape SAN).
NDMP and Media management backups run in separate backup windows. Every other day I see...
Hi Gurus,
We are running production backup server on Sun Fire 480r, I am setting up DR server on a Sun Fire v240. DR server will be used for restore purpose only. Both hostnames are different. I have setup rsync to sync the /nsr/index from prod to DR. What else I have to do? or does anyone...
Dear Tape gurus,
I have a STK L20 attached to SUN v240 (LVD SCSI). Tape drive cannot seen by the server. It can see the L20 but not the tape drive ( LTO2). STK is set to scsi id 5 and nothing else attached to that server. Have proper trminators put in.
Thanks in advance.
San
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.