Unsolved

This post is more than 5 years old

15 Posts

791

March 16th, 2006 06:00

how to print Networker schedules on windows server?

hello
i see support notes for Unix but for windows?
regards

117 Posts

March 16th, 2006 06:00

In addition what Hrvoje wrote before, nsradmin can be controlled by an input file (nsradmin -i ) to run queries non-interactive.
Just write all the command in the order you would type them in into a text file and use this as input file.

If you are familiar with UNIX systems and shell scripting it could be a good idea to make your Windows host "UNIX-like" by installing cygwin.

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

March 16th, 2006 06:00

Define print... is it print to printer or to a file?

I will assume last one - use nsradmin. Something like:

C:\Documents and Settings\Hrvoje Crvelin>nsradmin
NetWorker administration program.
Use the "help" command for help.
nsradmin> option hidden
Hidden display option turned on
 
Display options:
        Dynamic: Off;
        Hidden: On;
        Resource ID: Off;
nsradmin> show
Will show all attributes
nsradmin> print type: NSR schedule

If you want specific schedule then use:

nsradmin> print type: NSR schedule; name: $name_of_your_schedule

2 Intern

 • 

1.1K Posts

March 16th, 2006 07:00

Put the nsradmin files in a text file, run nsradmin with -i file and pipe the results to an output file:

nsradmin -i c:\temp\nsradmin.txt > c:\temp\schedules.txt

nsradmin.txt will contain something like:

. type:NSR schedule
option hidden
print

15 Posts

March 16th, 2006 07:00

i want to print to a file because it is too big to watch in nsradmin screen
regards

15 Posts

March 20th, 2006 02:00

sorry but i can't use command print

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

March 20th, 2006 03:00

Not sure how this works on Windows when not in interactive (as it is different to UNIX). What you could do is run nsrsup and copy&paste the part you wish to print. Or simply do it in interactive mode...

15 Posts

March 20th, 2006 05:00

hello
i have already post a topic to nsrsup command but it doesn't work. so i create this topic to nsradmin command and it doesn't work too.
regards

15 Posts

March 20th, 2006 06:00

yes but i don't want interactive mode. I want a file text to print it

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

March 20th, 2006 06:00

If you try interactive way as described above it should work. If you use "NSR type: NSR schedule" search patern against nsrdb and then type against returned file names it will work... So there is plenty of option which you can use here.

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

March 20th, 2006 06:00

Well, you said nsrsup hangs on customer's system. What about your? Does it run there?

I already mentioned that you could search and then type filenames containing NSR schedule NSR type. By appending the output you could come up with single file you could print out.


Message was edited by: hcrvelin
No Events found!

Top