Unsolved
This post is more than 5 years old
1 Message
0
2747
March 11th, 2016 08:00
NSR Peer Information - Delete via Script
I've attempted to right a basic Windows batch script to semi-automate deleting the NSR peer information. Below are the basics of the script:
-
- Add clients names with NSR PEER INFORMATION issues into a file.
- Start batch script
- On the NetWorker Server:
- Batch reads client name from a file.
- Creates an input file with the client name: delete type: nsr peer information;name: xyz(FQDN)
- Echo's a blank line to the input file.
- Runs nsradmin -p nsrexecd -I inputfile on NetWorker server.
- Result on screen shows "deleted resources id....."
- On the NetWorker Client:
- Batch reads client name from a file.
- Creates an input file with the client name: delete type: nsr peer information;name: NetWorker Server(FQDN)
- Echo's a blank line to the input file.
- Runs nsradmin -s xyz(FQDN) -p nsrexecd -I inputfile on NetWorker server.
- Result on screen shows "deleted resources id....."
- On the NetWorker Server:
A check on the client and the server show that neither resource was actually deleted.
Any thoughts?
No Events found!



bingo.1
2.4K Posts
0
March 11th, 2016 14:00
Yes, I could imagine that we would be able to help ... if you provide the input file for nsradmin.
How shall we know what it it supposed to do?
ble1
4 Operator
•
14.3K Posts
0
March 14th, 2016 02:00
Most of the time, 99% of it. I just scan daemon.raw for last 24 hours and do cleanup.
crazyrov
4 Operator
•
1.3K Posts
0
March 14th, 2016 06:00
Hi boettg33,
It likely that the peer information might have been recreated.
you provide us with the input file that was created and also the output from the script that you just mentioned. Also you could delete the peer information on the client from the backup server itself by using the -s switch in nsradmin.