Skip to main content
Question

qoperation how to get the databse instance name to pass it to schedule policy assignment command.

  • February 26, 2025
  • 2 replies
  • 38 views

Forum|alt.badge.img+1

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. 

2 replies

Damian Andre
Vaulter
Forum|alt.badge.img+23

There is a qcommand to get the instance:

e.g:

qlist instance -c clientname -a Q_MSSQL


Forum|alt.badge.img+1
  • Author
  • Bit
  • 1 reply
  • March 7, 2025

Thanks Damian Andre !!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings