Skip to main content

RemoveSelectSrc

July 21, 2025

This API allows you to remove selected source from a backup set. Running that backup set again will no longer backup those files from the removed source.

The settings can be found on the AhsayCBS web console at:

  • Backup / Restore > Users, Groups & Policies > Backup User > %User Name% > Backup Set > %Backup Set Name% > Source

URL

https://CBS.EXAMPLE.COM/obs/api/json/RemoveSelectSrc.do

Available Since Version: 9.1

Parameters

Key Type Description
SysUser String Username of an AhsayCBS System User with Admin or API role.
SysPwd String Password matching SysUser.
LoginName String Username of the backup user.
BackupSetID String ID of the backup set. Obtainable in ListBackupSets API.
Src String or Array of String One or multiple Source paths. Special characters for JAVA must be escaped, for example, “\” must be replaced with “\\”.
Return Values
Key Type Description
Status String "OK" or "Error"
Message String Error message, it only appears if status displays "Error".
ExptType String The type of exception, it appears only if status is "Error".
Examples

Example 1: Input (Single String)

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"SelectedSrc":["Src":"C:\\New1"]
}

OUTPUT

{
	"Status":"OK"
}

Example 2: Input (Array of Strings)

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"SelectedSrc":[
		{
			"Src":"C:\\New1"
		},
		{
			"Src":"C:\\New2\\data"
		}
	]
}

OUTPUT

{
	"Status":"OK"
}