NetWorker: How to Create Customized Log Rollover Rules
Summary: Use the "nsradmin" command on the NetWorker server to create a NetWorker log setting to set the logs to roll over rather than letting them grow.
Acest articol se aplică pentru
Acest articol nu se aplică pentru
Acest articol nu este legat de un produs specific.
Acest articol nu acoperă toate versiunile de produs existente.
Instructions
The range for the maximum size change is between 10 MB to 4000 MB.
- Create a new rule for any logs to perform rollover.
[root@nsr logs] # nsradmin -p nsrexecd
NetWorker administration program
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> create type: NSR log; log path: /nsr/logs/rap.log (change the path for the log as needed) type: NSR log; log path: /nsr/logs/rap.log; Create? y created resource id 12.0.48.172.0.0.0.0.110.201.50.103.192.168.9.150(1)
- Select the log rollover rule that we created.
nsradmin> p type: nsr log; log path: /nsr/logs/rap.log type: NSR log; administrator: root, "user=nsrnmc,host=nsr.amer.lan", "user=root,host=nsr.amer.lan"; owner: NetWorker; maximum size MB: 500; maximum versions: 10; runtime rendered log: ; runtime rollover by size: Disabled; runtime rollover by time: ; name: rap.log; log path: /nsr/logs/rap.log;
- Specify the settings that you want to change, for example, maximum log size.
nsradmin> update maximum size MB: 10 maximum size MB: 10; Update? y updated resource id 12.0.8.7.0.0.0.0.254.158.45.103.192.168.9.150(5)
- List the rule again to confirm the change was made successfully.
nsradmin> p type: NSR log; administrator: root, "user=nsrnmc,host=nsr.amer.lan", "user=root,host=nsr.amer.lan"; owner: NetWorker; maximum size MB: 10; maximum versions: 10; runtime rendered log: ; runtime rollover by size: Disabled; runtime rollover by time: ; name: rap.log; log path: /nsr/logs/rap.log;
Additional Information
See related articles:
- How to set the NetWorker log rollover or truncation time
- Changing the NetWorker log maximum size, version, and so forth, from nsrladb with nsradmin (Log in to Dell Support as a registered customer is required to view this article.)
Produse afectate
NetWorker FamilyProprietăți articol
Article Number: 000247424
Article Type: How To
Ultima modificare: 15 Jan 2026
Version: 2
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.