Skip to main content

In below example at the end we are passing the instance name by checking it manually by login in to commcell console but our requirement is to fetch the database instance name automatically through a command.

.\qmodify.exe schedulepolicy -o add -scp <Schedule policy name> -c <Host Name> -a Q_MSSQL -b defaultBackupSet -s default -i <Instance name>

We need your help in getting the right command to get the instance name. 

There is a qcommand to get the instance:

e.g:

qlist instance -c clientname -a Q_MSSQL


Thanks Damian Andre !!


Reply