We have an application called Finalbuilder that we use to deploy DB to other SQL servers. There is ADO executesql command in it like below
BACKUP DATABASE %DB_NAME%
TO DISK ='%DBFolder%%BAK_Targetname%'
I want to exclude certain users when the backup is done. I do not see any options or parameters in MSDN to exclude certain users when backing up. How can i do this?