Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. esserc

    command line script

    You *can* do it that way, but I wouldn't. The best way to backup an Oracle database is to use RMAN with the Legato NMO Module. In fact with Oracle 8i and 9i, using RMAN is the only backup method that Oracle supports. If you really want to use a script, it's better to use a pre and post...
  2. esserc

    Importing a tape from another server

    Has anyone tried to recover a client off tapes from another server? I have a need to do this soon, and I'm not sure how. I presume I need to create a client with the same Client ID on the new server and scan the tape. Does anyone have any experience doing this?
  3. esserc

    SAP Slow Restore due to long browsing times

    I might be able to help. First of all most of my experiance is with SAP on Oracle on Solaris with Netowrker on Solaris, but Most of the things I have found should apply. I've worked with SAP on NT with Networker on NT and I hope I never have to go through that again. It's a nightmare! But, good...
  4. esserc

    redirect savepnpc output to group details?

    Not true. Networker read the exit status (or return code), not the output.
  5. esserc

    redirect savepnpc output to group details?

    The entire output is sent to the server. The savegroup details is truncated a bit, and the savegroup completion report is also truncated, but not as much. If you change the backup command to 'savepnpc -vvvv' you should get it all. In 6.0 and below that works, but I think 6.1 still truncates it.
  6. esserc

    redirect savepnpc output to group details?

    Remember: You can only see the output of the pre command, not the post command.
  7. esserc

    Removing library volumes from command line

    I would recommend that you mark the volume as full rather that readonly. That way they'll recycle properly, and networker will stll not try to append to it. The other thing I see. You unload the volume without checking first to see if it's loaded. That's OK because nsrjb will just ignore the...
  8. esserc

    Local Directives

    Thanks, that really helps. I wish someone would write a good FAQ about directives. It's not really covered in the manual very well.
  9. esserc

    Removing library volumes from command line

    I've found the same problem with Networker's tape management...It doesn't have any. I looked around for good scripts to do this, and I couldn't find any that worked they way I wanted them to. I also found this to be a problem with management tools like BOM. They assume a workflow and a way of...
  10. esserc

    Local Directives

    Thank you for the answer, but that wasn't my question. Maybe I need to explain it a little better. I already use savepnpc for shuting down the starting the database on the rare cases that I do a cold backup. That's not the problem. The problem is that I use local directives on the systems with...
  11. esserc

    Removing library volumes from command line

    I hope the question was "How do I delete a volume?" because that is what "nsrmm -d" does. If your question was "How do I unload and withdraw a volume from a jukebox?" this might help. If a volume you want to withdraw is loaded into a drive, first unload it: nsrjb...
  12. esserc

    Local Directives

    I use local directives quite a bit. I find it more useful than defining a directive on the server if the directive is just for one machine. I mainly use them for databases, so the files (excluding the database) are backed up in one savegroup. Then the database is backed up later using a Business...
  13. esserc

    Unable to backup from SAP to Networker Jukebox

    I wasn't aware that there was any way to do it without the module. Good luck.
  14. esserc

    Unable to backup from SAP to Networker Jukebox

    More questions... What database and what version? and what OS and Version?
  15. esserc

    Unable to backup from SAP to Networker Jukebox

    What version of Networker are you using.And what version of the SAP Module?
  16. esserc

    Using semaphores

    Thanks for everyone's help. I ended using IPC::Semaphore. My script is only going to be run on Solaris, and I needed a FAST way of locking procedures, and this worked out a lot better than using files.
  17. esserc

    How can I get & parse the content of the first line?

    Just in case you need it, here's a full working script that will recursivly fix all the files in the directories below where the program is run: #!/usr/local/bin/perl open (FILES, &quot;find .|&quot;) or die &quot;Cannot run find: $!\n&quot;; foreach $file (<FILES>) { chomp($file); if...
  18. esserc

    Quickening and simplifying regex...

    Actually, it's usually faster to run multible small regex commands than one big one.
  19. esserc

    How can I get &amp; parse the content of the first line?

    Here ya go: A quick and dirty way of doing it: sub renamefile { my $filename = shift; my $line; open (INFILE, &quot;$filename&quot;) or die; $line = <INFILE>; # Read first line chomp($line); # Remove CR, CR/LF close(INFILE); $line =~ s/\/\*//g; # Remove comments...
  20. esserc

    Using semaphores

    I haven't been able to find any good examples of using semaphores to handle locking. I have a script that can be used by multiple users at once. Certain procedures should only be run be one user at a time (seralized, more or less). What I would like to do is use semaphores to communicate...

Part and Inventory Search

Back
Top