Recently I got a task to run a command or script to delete files in a given folder after a success backup. In general, there are two major ways, one way is to use PowerShell script and include Networker backup command, and the other way is to use EMC Networker customized backup command. I chose to use the second way because it is more closely integrated with Networker and easier to manage and monitor.
I follow the steps as below:
- Step 1: In the client host, create a file save001.bat under c:\Program Files\EMC NetWorker\nsr\bin.
- Step 2: Use txt editor to edit the Save001.bat with the script listed in the following post.
- Step 3: Login to NMC, in the Backup Command attribute of the Client resource, type the name of the backup script, save001.bat in our case.

Continue reading →