Have a requirement to stop a specific service prior to backup running so created a simple bat file with
“net stop servicename”
and configured the bat file in the pre backup command for the subclient.
However backup job in pending state and I am getting an error along the lines of “User selection still set to none.”
Is there more to the configuration of the bat than just stopping the required service?
Best answer by Tom Evans
@Mike Struening - For whatever reason when on remote session with support re-selecting the scripts in the command center under the client allowed the backup to run successfully with the pre/post scripts running as expected.
As for the properties being greyed out in the Comcell. Console I think it was suggested that the Server Plan was restricting the modification of properties.
@Tom Evans , generally the issue with pre/post process files is either the script itself, or the user running the script (within the job).
Can you log onto the client itself (as the user you have configured to run that script within the subclient properties) and run the script manually and see if it works?
You can also edit the pre-scan command like this: prescript.bat 1>> C:\std.out 2>> C:\stderr.out (where 'prescript' is the entire path of the script that is already there) This will create 2 files that you can review which will show us the problem.
You can edit the actual line in the subclient properties to have this extra parameter.
@Tom Evans , what’s the OS? I see you have Pre-Snap has an option to Browse, but everything else is grayed out. If this is a Snap based backup, there might not be any reason to have a scan or backup script.
I removed the script using the Command Center to see if it lit up the options in the Java console which is why there is not anything showing.
As far as I am aware this isn't a Snap based backup? I remotely installed the File System agent from the Command Center and used the default subclient by applying a plan to it?
@Tom Evans , quick question….can you edit ANYTHING in that subclient properties?
A colleague said it might be permissions related (and to see what you can edit if anything).
Editing in another colleague asking, does this client have the full iDA installed, or perhaps just the Core install (which only supports basic options)? Right-click the client and view installed software.
Other than that, it might be best to open a case with support (and reply back with the solution).
checked installed software and it has File System Core and File System.
also logged in as the default admin account that was created during install and all options still show as greyed out so don’t think it’s a permissions thing.
Will get a support ticket raised for investigation.
@Mike Struening - For whatever reason when on remote session with support re-selecting the scripts in the command center under the client allowed the backup to run successfully with the pre/post scripts running as expected.
As for the properties being greyed out in the Comcell. Console I think it was suggested that the Server Plan was restricting the modification of properties.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.