Skip to main content

Backup Set

This subcategory focuses on getting information regarding backup sets. Several functions can also performed using these APIs like adding, modifying and deleting backup sets as well as the details of the backup set.

 

UpdateBackupSet (v1,v2)

This API can be used to update settings of a backup set.

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

  • Backup / Restore > Users, Groups & Policies > Backup User > %User Name%
Ahsay v9 introduces Deduplication. For users running v9 client, new backup sets created from v9 will not use In-File Delta, but rather use Deduplication; adjust your API call accordingly.

v1 UpdateBackupSet.do


URL

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

Deprecated Since Version: 7.15.6.38

 

v2 UpdateBackupSet.do


URL

https://CBS.EXAMPLE.COM/obs/api/json/2/UpdateBackupSet.do

Available Since Version: 9.5

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringObtainable by calling the ListBackupsets API.
RecycleBinSettingsJSON ObjectSee RecycleBinSettings.
ReadOnlyBooleanTrue / False
ClassStringcom.ahsay.obx.cxp.obs.BackupSet
NameStringName of the backup set.
ShadowCopyEnabledBooleanEnable Windows Volume Shadow Copy for open file backup.
DeleteTempFileStringRemove temporary files after backup.
LogRetentionDaysIntegerNumber of days to keep the backup set log.
FollowLinkBooleanFollow link of the backup files.
CompressTypeStringType of compression, can be one of the following: GzipBestSpeedCompression (Fast), GzipDefaultCompression (Normal) or SnappyDefaultCompression (Fast with optimization for local). Default to 'No Compression" if not provided.
LanDomainStringWindows User Authentication domain/hostname.
LanUsernameStringWindows User Authentication username.
LanPasswordStringWindows User Authentication user password.
WorkingDirStringTemporary directory for storing backup files.
UploadPermissionBooleanEnable to backup permission attribute of files.
ReminderSettingsArrayArray list of Reminder settings.
InFileDeltaSettingsArrayArray list of In-File Delta settings.
LocalCopySettingsArrayArray list of Local Copy settings.
RetentionPolicySettingsArrayArray list of Retention Policy settings.
CdpSettingsV6ArrayArray list of CDP settings for v6.
CdpSettingsV7ArrayArray list of CDP settings for v7.
BandwidthControlSettingsArrayArray list of Bandwidth Control settings.
FilterSettingsArrayArray list of Filter settings.
ScheduleSettingsArrayArray list of Schedule settings.
DestinationSettingsArrayArray list of Destination settings.
SelectedSourceListArrayCan be an array with local path (String type) and network address with credential (NetworkAddress type).
DeselectedSourceListArrayCan be an array with local path (String type) and network address with credential (NetworkAddress type).
PreCommandListArrayArray list of pre commands.
PostCommandListArrayArray list of post commands.
AllowedIPListArrayArray list of allowed IPs for restore.
ApplicationSettingsArrayArray list of Application settings.
DestinationListArrayArray list of Destinations (optional).
EnableOpenDirectBooleanCannot be changed once set.
NetworkAddressJSON ObjectCan be used in SelectedSourceList and DeselectedSourceList.
DeduplicationSettingsObjectRefer to DeduplicationSettings.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

ReminderSettings

KeyTypeDescription
ReadOnlyBooleanTrue / False
BackupIntervalHoursIntegerBackup interval in hours, 00-23.
OfflineNotificationDayIntegerThis setting is only applicable for v6 legacy backup user.
OfflineBackupEnabledBooleanOn-Off for offline backup reminder.
BackupIntervalDayIntegerBackup Interval in days, 00-31.
ShowOfflineBackupReminderBooleanThis settings only applicable for v6 legacy backup user.
LogoutBackupReminderEnabledBooleanEnable/Disable backup reminder when Windows log off or shutdown.
OfflineBackupReminderComputerNameStringThe computer name for the offline backup reminder.
LogoutBackupReminderComputerNameStringThe computer name for the logout backup reminder.

InFileDeltaSettings

KeyTypeDescription
EnabledBooleanTrue / False
ReadOnlyBooleanTrue / False
MinDeltaFileSizeLongOnly apply In-File Delta to files larger than this size.
MaxNumOfDeltaLongUpload full file when number of deltas are over this number.
MaxDeltaRatioLongUpload full file when delta file size / full file size is over this ratio. It can only be multiple of 5 and maximum of 100.
DefaultDeltaTypeStringType of delta, can either be I or D.
WeeklyInFileDeltaScheduleArrayWeekly variations for overriding default type.
MonthlyInFileDeltaScheduleArrayMonthly variations for overriding default type.

WeeklyInFileDeltaSchedule

KeyTypeDescription
ReadOnlyBooleanTrue / False
DayArrayThe array contains 7 Strings which corresponds to the delta type from Sunday to Saturday. "I" for incremental delta on that day, "D" for differential delta on that day and "" for full backup on that day.

MonthlyInFileDeltaSchedule

KeyTypeDescription
ReadOnlyBooleanTrue / False
MonthArrayThe array contains 12 Strings which corresponds to the delta type from January to December. "I" for incremental delta on that day, "D" for differential delta on that day and "" for full backup on that day.
DateIntegerDay of selected months in yearly variations.
CriteriaStringThe value can be one of the following: Weekday, Weekend, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.
OccurrenceStringThe value can be one of the following: First, Second, Third, Fourth and Last.

LocalCopySettings

KeyTypeDescription
ReadOnlyBooleanTrue / False
EnabledBooleanThis setting only applicable for v6 legacy backup users.
DestinationPathStringThis setting only applicable for v6 legacy backup users.
SetPermissionBooleanThis setting only applicable for v6 legacy backup users.
SkipOffsiteBackupBooleanThis setting only applicable for v6 legacy backup users.
LocalCopyRetentionPolicySettingsArrayThis setting only applicable for v6 legacy backup users.
ZipBooleanThis setting only applicable for v6 legacy backup users.

LocalCopyRetentionPolicySettings

KeyTypeDescription
ReadOnlyBooleanTrue / False
EnabledBooleanThis setting only applicable for v6 legacy backup users.
PeriodIntegerThis setting only applicable for v6 legacy backup users.
UnitStringThis setting only applicable for v6 legacy backup users.

RetentionPolicySettings

KeyTypeDescription
ReadOnlyBooleanTrue / False
PeriodIntegerKeep the deleted files for this number of days.
OverlapSensitiveBooleanTrue / False
TypeStringType of retention policy, either SIMPLE or ADVANCED.
UnitStringUnit of retention policy, either DAYS or JOBS.
AdvancedRetentionPolicyArrayArray list of Advanced Retention Policies.

AdvancedRetentionPolicy

KeyTypeDescription
ReadOnlyBooleanTrue / False
IdLongID of the retention policy to update.
TypeStringType of advanced retention policy. The value can be one of the following: DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY or CUSTOM.
NumbersToKeepIntegerAvailable to change when you choose the following type: DAILY, WEEKLY, MONTHLY, QUARTERLY or YEARLY.
DayIntegerAvailable to change when you choose the following type: DAILY, WEEKLY, MONTHLY, QUARTERLY or YEARLY.
WeekIntegerAvailable to change when you choose the following type: DAILY, WEEKLY, MONTHLY, QUARTERLY or YEARLY.
MonthIntegerAvailable to change when you choose the following type: DAILY, WEEKLY, MONTHLY, QUARTERLY or YEARLY.
YearIntegerAvailable to change when you choose CUSTOM for the type.
DateTypeStringIt can be empty for daily or weekly retention policy, or one of the following: WEEK_OF_MONTH, WEEK_OF_YEAR or EXACT.
Sun, Mon, Tue, Wed, Thu, Fri, SatBooleanFor weekly custom retention policy.

CdpSettings

KeyTypeDescription
ReadOnlyBooleanTrue / False
EnableBooleanTrue / False
TypeStringFor CdpSettingsV6, the value can be one of the following: all-volume, backup-source or custom-source. For CdpSettingsV7, the value is all-volume.
BackupTypeString

The value can be empty or one of the following: DATABASE, DIFFERENTIAL, LOG, SKIP or POWEROFF.

For Oracle and Lotus Domino backup sets, the value must be DATABASE or LOG.

For MS SQL Server backup sets, the value must be DATABASE or DIFFERENTIAL

For MS Exchange Server before 2007 and ShadowProtect backup sets, the value must be DATABASE, DIFFERENTIAL or LOG.

For MS Exchange Server 2007 or above, the value must be DATABASE or LOG.

For VMware backup sets, if version is VMware Server 1 or VMware Player, the value must be SKIP or POWEROFF.

MinUpdateIntervalIntegerUpdate intervals.
TimeMarkIntervalIntegerMark intervals.
MaxFileSizeIntegerOnly apply to files smaller than 20, 50, 100, 500, 1000 or unlimited.
ComputerNameStringRun CDP on these computers.
ExcludeSystemFilesBooleanTrue / False
FilterListArrayArray list of Filters.
VersionStringFor CdpSettingsV7, the value is 7.
CdpBackupControlSettingsArrayThis setting is only applicable for v6 legacy backup users.
SelectedSourceListArrayArray list of selected sources.
IdArrayV6 for CdpSettingsV6 and V7 for CdpSettingsV7.

CdpBackupControlSettings

KeyTypeDescription
ReadOnlyBooleanTrue / False
ConsiderCpuUsageBooleanThis setting is only applicable for v6 legacy backup users.
CpuUsageIntegerThis setting is only applicable for v6 legacy backup users.
ConsiderInputBooleanThis setting is only applicable for v6 legacy backup users.
ObserveInputForSecondIntegerThis setting is only applicable for v6 legacy backup users
ConsiderNetworkTrafficBooleanThis setting is only applicable for v6 legacy backup users.
NetworkTrafficLongThis setting is only applicable for v6 legacy backup users

BandwidthControlSettings

KeyTypeDescription
ReadOnlyBooleanTrue / False
EnabledBooleanTrue / False
BandwidthControlListArrayArray list of Bandwidth Controls.
ModeStringMode of bandwidth, which can either be independent or share.

BandwidthControl

KeyTypeDescription
ReadOnlyBooleanTrue / False
NameStringName of bandwidth control setting.
IdLongID of bandwidth control setting.
MaxTransferRateInBitsPerSecLongMaximum allowable transfer rate.
StartDayIntegerStarting day of bandwidth control.
StartHourIntegerStarting hour of bandwidth control.
StartMinuteIntegerStarting minute of bandwidth control.
EndDayIntegerEnding day of bandwidth control.
EndHourIntegerEnding hour of bandwidth control.
EndMinuteIntegerEnding minute of bandwidth control.

FilterSettings

KeyTypeDescription
ReadOnlyBooleanTrue / False
EnabledBooleanTrue / False
FilterListArrayArray list of Filters.

FilterList

KeyTypeDescription
ReadOnlyBooleanTrue / False
NameStringName of the filter.
IdLongID of the filter, obtainable in GetBackupSet API.
TopDirStringApply filter to a specific directory only.
@classStringcom.ahsay.obx.cxp.obs.Filter
ApplyToDirBooleanApply filters to directory.
TypeStringType of filter, the value can be one of the following: START_WITH, END_WITH, CONTAIN or CUSTOM.
IncludeBooleanEither include or exclude matched files/folder under the top directory.
OnlyBooleanIf set to true, it will not include all unmatched files/folders. If set to false, it will include all unmatched files/folders.
PatternListArrayArray list of patterns.
MatchPatternAgainstFullPathOnlyBooleanTrue / False
UsernameStringUsername of UNC paths with non-Windows credentials as backup source.
PasswordStringPassword of UNC paths with non-Windows credentials as backup source.

Pattern

KeyTypeDescription
ReadOnlyBooleanTrue / False
PatternStringDetails of pattern.

ApplicationSettings

KeyTypeDescription
ReadOnlyBooleanTrue / False
@classStringClassification of application.
IdStringID of application setting.
VersionStringVersion of application setting.
WindowsOutlookBooleanBackup source shortcut to Outlook. Applicable for File backup set only.
WindowsDesktopBooleanBackup source shortcut to Desktop. Applicable for File backup set only.
WindowsOutlookExpressBooleanBackup source shortcut to Outlook Express. Applicable for File backup set only.
WindowsMailBooleanBackup source shortcut to Windows Mail. Applicable for File backup set only.
WindowsFavouritesBooleanBackup source shortcut to Favourites. Applicable for File backup set only.
WindowsMyDocumentsBooleanBackup source shortcut to My Documents. Applicable for File backup set only.
NotesIniPathStringPath to notes.ini. Applicable for IBM Lotus Domino / IBM Lotus Notes backup set only.
BackupSystemStateBooleanApplicable for Windows System State backup set only.
LoginIDStringLogin ID of sa / system account. Applicable for MS SQL Server / Oracle Database Server backup set only.
PasswordStringPassword of sa / system / root account. Applicable for MS SQL Server / MySQL / Oracle Database Server / MariaDB / VMware / PostgreSQL backup set only.
ServerStringSQL Server instance. Applicable for MS SQL Server backup set only.
BackupTargetStringTemporary storage location of the MS Windows System / System State backup set. Applicable for MS Windows System / System State backup set only.
PortIntegerListening port of the MySQL / Oracle Database Server. Port to the VMware hypervisor. Applicable for MySQL / Oracle / MariaDB Database Server / VMware / PostgreSQL backup set only.
HostStringHostname or IP to to MySQL / Oracle Database Server / MariaDB / VMware hypervisor / PostgreSQL. Applicable for MySQL / Oracle / MariaDB Database Server / VMware / PostgreSQL backup set only.
UsernameStringUsername of root account. Applicable for MySQL / MariaDB Database Server / VMware / PostgreSQL backup set only.
MysqldumpPathStringPath to the mysqldump file. Applicable for MySQL / MariaDB Database Server backup set only.
PostgreSQLDumpPathStringPath to the postgresqldump file. Applicable for PostgreSQL Server backup set only.
LastArchivedLogNameStringApplicable for Oracle Database Server backup set only.
SidStringOracle SID. Applicable for Oracle Database Server backup set only.
EncryptionAlgorithmStringApplicable for ShadowProtect System backup set only.
EncryptionPasswordStringApplicable for ShadowProtect System backup set only.
InstallLocationStringApplicable for ShadowProtect System backup set only.
SshportIntegerApplicable for VMware backup set only.
AutoEnableCBTBooleanApplicable for VMware backup set only.
OneDriveBooleanApplicable for Microsoft 365 backup set only.
PublicFoldersBooleanApplicable for Microsoft 365 backup set only.
SiteCollectionsBooleanApplicable for Microsoft 365 backup set only.
OutlookBooleanApplicable for Microsoft 365 backup set only.

ScheduleSettings

KeyTypeDescription
ReadOnlyBooleanTrue / False
EnableBooleanTrue / False
ComputerNameStringName of computer.
DailyScheduleListArrayArray list of Daily Schedules.
WeeklyScheduleListArrayArray list of Weekly Schedules.
MonthlyScheduleListArrayArray list of Monthly Schedules.
CustomScheduleListArrayArray list of Custom Schedules.

DailyScheduleList

KeyTypeDescription
ReadOnlyBooleanTrue / False
NameStringName of the schedule.
IdLongID of the schedule, obtainable in GetBackupSet API.
HourIntegerThe hour when the backup will start, refer to HH.
MinuteIntegerThe minute when the backup will start, refer to MM.
DurationInteger(optional) If no value is specified, default value=-1. The value can either be 'until full backup completed =-1' or 'stop backup after xx hours=1 to 24'.
BackupTypeString

Type of backup. Can be empty or one of the following: DATABASE, DIFFERENTIAL, LOG, SKIP or POWEROFF.

For Oracle and Lotus Domino backup sets, the value must be DATABASE or LOG.

For MS SQL Server backup sets, the value must be DATABASE or DIFFERENTIAL.

For MS Exchange Server 2007 or above, the value must be DATABASE or LOG.

For MS Exchange Server 2007 or above, the value must be DATABASE or LOG.

For VMware backup sets, if version is VMware Server 1 or VMware Player, the value must be SKIP or POWEROFF.

SpaceFreeUpEnabledBooleanRemove obsolete files from backup destination according to retention policy.
LastUpdateTimeLongTime of last update.
@classStringcom.ahsay.obx.cxp.obs.DailySchedule
MigratedFromCdpBooleanIf true it indicates it is migrated from CDP, this value cannot be changed.
BackupIntervalIntegerFor periodic backup schedule the value can be -1 or one of the following: 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60, 120, 180, 240, 360, 480 or 720. (-1 means periodic schedule is disabled, that it is a normal schedule)

WeeklyScheduleList

KeyTypeDescription
ReadOnlyBooleanTrue / False
NameStringName of the schedule.
IdLongID of the schedule, obtainable in GetBackupSet API.
HourIntegerThe hour when the backup will start, refer to HH.
MinuteIntegerThe minute when the backup will start, refer to MM.
DurationInteger(optional) If no value is specified, default value=-1. The value can either be 'until full backup completed =-1' or 'stop backup after xx hours=1 to 24'.
BackupTypeStringRefer to BackupType of DailySchedule.
DaysArrayThe array contains 7 boolean values that correspond to Sunday until Saturday. If the boolean value is true, backup will be run on that day.
SpaceFreeUpEnabledBooleanRemove obsolete files from backup destination according to retention policy.
LastUpdateTimeLongTime of last update.
@classStringcom.ahsay.obx.cxp.obs.WeeklySchedule
MigratedFromCdpBooleanIf true it indicates it is migrated from CDP, this value cannot be changed.
BackupIntervalIntegerRefer to BackupInterval of DailySchedule.

MonthlyScheduleList

KeyTypeDescription
ReadOnlyBooleanTrue / False
NameStringName of the schedule.
IdLongID of the schedule, obtainable in GetBackupSet API.
HourIntegerThe hour when the backup will start, refer to HH.
MinuteIntegerThe minute when the backup will start, refer to MM.
DurationInteger(optional) If no value is specified, default value=-1. The value can either be 'until full backup completed =-1' or 'stop backup after xx hours=1 to 24'.
BackupTypeStringRefer to BackupType of DailySchedule.
OccurenceStringThe value can be one of the following: First, Second, Third, Fourth or Last.
CriteriaStringThe value can be one of the following: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Weekday or Weekend.
SpaceFreeUpEnabledBooleanRemove obsolete files from backup destination according to retention policy.
LastUpdateTimeLongTime of last update.
@classStringcom.ahsay.obx.cxp.obs.MonthlySchedule

CustomScheduleList

KeyTypeDescription
ReadOnlyBooleanTrue / False
NameStringName of the schedule.
IdLongID of the schedule, obtainable in GetBackupSet API.
HourIntegerThe hour when the backup will start, refer to HH.
MinuteIntegerThe minute when the backup will start, refer to MM.
DurationInteger(optional) If no value is specified, default value=-1. The value can either be 'until full backup completed =-1' or 'stop backup after xx hours=1 to 24'.
DateStringThe date when backup will be performed, in yyyy-MM-dd format.
BackupTypeStringRefer to BackupType of DailySchedule.
SpaceFreeUpEnabledBooleanRemove obsolete files from backup destination according to retention policy.
LastUpdateTimeLongTime of last update.
@classStringcom.ahsay.obx.cxp.obs.CustomSchedule

Command

KeyTypeDescription
ReadOnlyBooleanTrue / False
NameStringName of the command.
CommandStringSpecifics of the command.
TypeStringType of command, can either be Pre or Post.
IdLongID of the command, obtainable in GetBackupSet API.
WorkingDirStringDirectory where the command will be applied.
UsernameStringUsername used in the UNC path with non-Windows credentials as backup source.
PasswordStringPassword used in the UNC path with non-Windows credentials as backup source.

AllowedIP

KeyTypeDescription
ReadOnlyBooleanTrue / False
IdLongID of the allowed IP.
StartIPStringStarting value of allowable IPs.
EndIPStringEnding value of allowable IPs.

DestinationSettings

KeyTypeDescription
ReadOnlyBooleanTrue / False
DestinationListArrayArray list of Destinations.

Destination

KeyTypeDescription
ReadOnlyBooleanTrue / False
IdLongID of the destination, obtainable in GetBackupSet API.
NameStringName of the destination.
TopDirStringTop directory.
@classStringDestination classification
TypeStringBackup destination type which can be one of the following: Local, CloudDrive, S3, AWSCompatib.e, Wasabi, Backblaze, GCS, GDrive, Azure, OneDrive, OpenStack, Rackspace, Dropbox, FTP, SFTP, OBS, Pooled, Aliyun and Exchange.
UserNameStringUsername used to login to the destination.
PasswordStringPassword used to login to the destination.
HostNameStringHostname or IP of the destination.
PortStringPort used by the destination.
AccessKeyStringAccess key used by the destination.
LocationStringLocation used by the destination.
DestinationKeyStringDestination key used by the destination.
SecretStringSecret used by the destination.
UserIDStringUser ID used by the destination.
TokenStringToken used by the destination.
ClientIDStringClient ID used by the destination.
UserDisplayNameStringUser display name shown by the destination.
ClientSecretStringClient secret used by the destination.
RegionStringRegion of the destination.
TenantIDStringTenant ID of the destination.
AppFolderNameStringApplication folder name of the destination.
UsingSSLBooleanTrue / False
UsingProxyBooleanTrue / False
DestinationListArrayArray list of Destinations.

NetworkAddress

KeyTypeDescription
SrcStringSource
UsernameStringUsername used to login.
PasswordStringPassword used to login.

RecycleBinSettings

KeyTypeDescription
EnabledBooleanEnable moving the files to the Recycle Bin when remove file from Retention Policy or DIC.
RetentionPeriodIntegerNumber of days the files will be kept in the recycle bin.
IdStringNot used.

DeduplicationSettings

KeyTypeDescription
EnabledBooleanWhether deduplication is enabled.
ScopeStringScope of the deduplication, either SAME_FILE or ALL_FILES. Other value will result in error.
BlockSizeIntegerSize of the block, can be one of the following: 65536 for 64k-256k, 131072 for 128k-512k, 262144 for 256k-1M, 524288 for 512k-2M or 1048576 for 1M-4M. Removed in v9.5 "-1" (for "Auto" which is the default choice in earlier v9).
SettingsMigratedBooleanWhether the settings will be migrated from In-File Delta settings during the next profile update.
MigrateDataBooleanWhether to migrate data for pre-v9 In-File Delta to v9 deduplication during backup.
IdStringNot used.
Examples

Example 1: Updating a Microsoft 365 Online Destination

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"ApplicationSettings":{
		"@class":"com.ahsay.obx.cxp.cloud.Office365ExchangeOnlineSettings",
		"RunOnServer":false,
		"Destination":{
			"@class":"com.ahsay.obx.cxp.obs.Office365ExchangeOnlineDestination",
			"Type":"Exchange",
			"Password":"",
			"DataMigrationMappingMergedToIndex":false,
			"MultiAccounts":true,
			"Username":"SampleAccount@ahsay.com",
			"DestinationKey":"OBS",
			"Id":"-1686815201815"
		}
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 2: Updating an AhsayCBS Destination

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687138324430",
	"DestinationSettings":{
		"DestinationList":[
			{
				"Name":"CBS",
				"@class":"com.ahsay.obx.cxp.obs.ObsDestination",
				"Type":"OBS"
			}
		]
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 3: Updating a Weekly In-File Delta Setting (v8 legacy backup set)

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687139082362",
	"InFileDeltaSettings":{
		"Enabled":true,
		"MinDeltaFileSize":"30",
		"MaxNumOfDelta":"200",
		"MaxDeltaRatio":"55",
		"DefaultDeltaType":"I",
		"WeeklyInFileDeltaSchedule":{
			"Day":["I","D","I","D","I","D","I"]
		}
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 4: Updating a Monthly In-File Delta Setting (v8 legacy backup set)

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687139082362",
	"InFileDeltaSettings":{
		"Enabled":true,
		"MinDeltaFileSize":"30",
		"MaxNumOfDelta":"200",
		"MaxDeltaRatio":"55",
		"DefaultDeltaType":"I",
		"MonthlyInFileDeltaSchedule":{
			"Month":["D","I","D","I","D","I","D","I","D","I","D","I","D"],
			"Date":"3"
		}
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 5: Recycle Bin Setup

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"ACB",
	"BackupSetID":"1692320086130",
	"RecycleBinSettings":{
		"Enabled":true,
		"RetentionPeriod":10
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 6: Updating a Simple Retention Policy

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687139082362",
	"RetentionPolicySettings":{
		"Period":"3",
		"Type":"SIMPLE",
		"Unit":"JOBS"
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 7: Updating an Advanced Daily Retention Policy

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687139082362",
	"RetentionPolicySettings":{
		"Type":"ADVANCED",
		"AdvancedRetentionPolicyList":[
			{
				"Id":"1687139082362",
				"Type":"DAILY",
				"NumbersToKeep":"3"
			}
		]
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 8: Updating an Advanced Weekly Retention Policy

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687139082362",
	"RetentionPolicySettings":{
		"Period":"3",
		"Type":"ADVANCED",
		"Unit":"JOBS",
		"AdvancedRetentionPolicyList":[
			{
				"Id":"1687139082362",
				"Type":"WEEKLY",
				"NumbersToKeep":"3",
				"Mon":"true"
			}
		]
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 9: Updating an Advanced Monthly Retention Policy

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687139082362",
	"RetentionPolicySettings":{
		"Type":"ADVANCED",
		"AdvancedRetentionPolicyList":[
			{
				"Id":"1687139082362",
				"Type":"MONTHLY",
				"Day":"12",
				"NumbersToKeep":"3"
			}
		]
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 10: Updating an Advanced Custom Retention Policy

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687139082362",
	"RetentionPolicySettings":{
		"Type":"ADVANCED",
		"AdvancedRetentionPolicyList":[
			{
				"Id":"1687139082362",
				"Type":"CUSTOM",
				"Month":"6",
				"Day":"31",
				"Year":"2024"
			}
		]
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 11: Updating a Bandwidth Control Setting

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687139082362",
	"BandwidthControlSettings":{
		"Enabled":true,
		"Mode":"Share",
		"BandwidthControlList":[
			{
				"Name":"ban1",
				"Id":"1687139082362",
				"MaxTransferRateInBitsPerSec":"25600000"
			}
		]
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 12: Updating a Filter Setting

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687139082362",
	"FilterSettings":{
		"Enabled":true,
		"FilterList":[
			{
				"Name":"update",
				"@class":"com.ahsay.obx.cxp.obs.Filter",
				"Id":"1687142103157",
				"TopDir":"C:\\test",
				"ApplyToDir":false,
				"PatternList":[
					{
						"Pattern":".txt"
					},
					{
						"Pattern":".png"
					}
				]
			}
		]
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 13: Updating a Daily Schedule and Custom Schedule Settings

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687139082362",
	"ScheduleSettings":{
		"Enabled":true,
		"DailyScheduleList":[
			{
				"Id":"1434946034621",
				"Hour":"12",
				"Minute":"30"
			}
		],
		"CustomScheduleList":[
			{
				"Id":"1687144789077",
				"Name":"Custom 1",
				"Hour":"6",
				"Minute":"30",
				"Date":"2024-06-19"
			}
		]
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 14: Updating OpenDirect Settings

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687139082362",
	"EnableOpenDirect":false
}

OUTPUT

{
	"Status":"OK"
}

Example 15: Updating MariaDB Type Backup Sets

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687150109716",
	"ApplicationSettings":{
		"@class":"com.ahsay.obx.cxp.cloud.MariaDBSettings",
		"Username":"root",
		"Version":"",
		"Port":"3306",
		"Host":"10.16.10.88",
		"Id":"",
		"MysqldumpPath":"/"
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 16: Deduplication (Incorrect Scope: "SAME_FILES")

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687150109716",
	"DeduplicationSettings":{
		"Scope":"SAME_FILES",
		"MigrateData":false,
		"Enabled":false,
		"SettingsMigrated":false,
		"Id":"",
		"BlockSize":262144
	}
}

OUTPUT

{
	"Status":"Error",
	"Message":"Cannot deserialize value of type ‘com.ahsay.obx.cxp.cloud.DeduplicationSettings$DeduplicationScope’ from String\”SAME_FILES\”: not one of the values accepted for Enum class: [ALL_FILES, SAME_FILE]\n at [Source: (String)\”{\Type\”:\”MariaDB\”, \”Timezone\”:\”1098\”, \”Delete\” :false, \”LoginName\”:\”obm\”, \”Owner\”:\”w2k16-std\”, \”DisplayOwner\”: \”w2k16-std\”, \”SysUser\”:\”system\”, \”Os\”:\”Windows Server 2016\”, \”RunBackupSettings\”:{\”DestiationIDList\”:[],\”Enabled\”:false, \”BackupType\”:\”\”, \”BackupJobID\”:\”\”, \”Id\”:\”\”}, \”RunOnServer\”: false, \”SelectedShortcutList\”:[],\”V6Passwords\”:{\”ApplicationPassword\”: \”\”,\”WinUserAuthPassword\”:\”\”,\”Id”\:\”\”},\"CdpSettings\":{\"@class\":\"com.ahsay.obx.cxp.obs.CdpSettings\",\"TimeMarkInterval\":30,\"CdpBackupControlSettings\":{\"Consi\"[truncated 6651 chars]; line: 1, column: 6343] (through reference chain: com.ahsay.obx.cxp.obs.BackupSet[\"DeduplicationSettings\"]->com.ahsay.obx.cxp.cloud.DeduplicationSettings[\"Scope\"])",
	"ExptType":"com.fasterxml.jackson.databind.exc.InvalidFormatException"
}

Example 17: Deduplication (Scope: "ALL_FILES")

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687150109716",
	"DeduplicationSettings":{
		"Scope":"ALL_FILES",
		"MigrateData":false,
		"Enabled":false,
		"SettingsMigrated":false,
		"Id":"",
		"BlockSize":262144
	}
}

OUTPUT

{
	"Status":"OK"
}

 

AddSelectSrc

This API can be used to add additional backup source to a backup set.

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/AddSelectSrc.do

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
SelectedSrcArray of SourceBeanOne or multiple Source paths, as an array of "Src".
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, it appears only if status is "Error".
JSON Objects

SourceBean

KeyTypeDescription
SrcString

Special characters for JAVA must be escaped, for example, “\” must be replaced with “\\”.

Example: "Src":"Microsoft 365/Users/John.Doe@example.com/Outlook/Inbox"

Example: "Src":"C:\\Testing1\\data"

UserNameStringIf username and password are empty, add the 'src' without credentials.
PasswordStringIf username and password are empty, add the 'src' without credentials.
Examples

Example 1

INPUT

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

OUTPUT

{
	"Status":"OK"
}

Example 2: Input with incorrect escape character (e.g. C:\ instead of C:\\)

INPUT

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

OUTPUT

{
	"Status":"Error",
	"Message":"[Error] JSON Input Syntax is incorrect!",
	"ExptType":"java.lang.Exception"
}

Example 3: Input with incorrect escape character dividing sub-directory (e.g. \ instead of \\)

INPUT

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

OUTPUT

{
	"Status":"OK"
}

 

RemoveSelectSrc

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

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
SrcString or Array of StringOne or multiple Source paths. Special characters for JAVA must be escaped, for example, “\” must be replaced with “\\”.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe 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"
}

 

AddDeselectSrc

This API allows you to add deselected source to a backup set. Running that backup set will no longer backup files from the deselected 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/AddDeselectSrc.do

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
DeselectedSrcArray of SourceBeanOne or multiple Source paths, as an array of "Src".
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, it appears only if status is "Error".
JSON Objects

SourceBean

KeyTypeDescription
SrcStringSpecial characters for JAVA must be escaped, for example, “\” must be replaced with “\\”. Example: "Src":"C:\\Testing1\\data"
UsernameStringIf username and password are empty, add the 'src' without credential.
PasswordStringIf username and password are empty, add the 'src' without credential.
Examples

Example 1

INPUT

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

OUTPUT

{
	"Status":"OK"
}

Example 2

INPUT

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

OUTPUT

{
	"Status":"OK"
}

 

RemoveDeselectSrc

This API allows you to remove deselected source from a backup set.

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/RemoveDeselectSrc.do

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
SrcString or Array of StringSpecial characters for JAVA must be escaped, for example, "\" must be replaced with: "\\".
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Examples

Example 1: Input (Single String)

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"Src":"C:\\New2"
}

OUTPUT

{
	"Status":"OK"
}

Example 2: Input (Array of String)

INPUT

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

 

OUTPUT

{
	"Status":"OK"
}

 

AddSchedule (v1,v2)

This API creates a new backup schedule setting on a backup set.

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% > Backup Schedule

 

v1 AddSchedule.do


URL

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

Deprecated Since Version: 7.15.6.38

 

v2 AddSchedule.do


URL

https://CBS.EXAMPLE.COM/obs/api/json/2/AddSchedule.do

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
NameStringName of the schedule.
TypeStringType of schedule, can be one of the following: DAILY, WEEKLY, MONTHLY or CUSTOM.
BackupIntervalIntegerFor periodic schedule, the value can be "1" or one of the following: 1, 2, 3, 4, 5, 10, 12, 15, 20, 30, 60, 120, 240, 360,480 or 720. ("-1" means periodic schedule is disabled, that it is a normal schedule)
TimeTimeBean ObjectMandatory if "BackupInterval" < ().
FullBackupBooleanMust be true when "BackupInterval" > (). If it is true, the schedule backup will run until full backup is completed. Otherwise, it will stop after the duration specified in key "Duration" of the TimeBean in key "Time".
SpaceFreeUpEnabledBooleanRemove obsolete files according to retention policy from backup destination according to retention policy.
SkipBackupEnabledBooleanTrue / False
BackupTypeString

It must be empty for File, MySQL, MariaDB, Lotus Notes, System State, MS Windows Server 2008, MS Exchange Mail Level Backup, Cloud File, and Microsoft 365 Exchange Online backup sets.

For the following Backup Types, this parameter must be filled with one of the following:

MS Exchange Server (if VSS supported): DATABASE, LOG, COPY or DIFFERENTIAL.

If not VSS supported: DATABASE or LOG.

Oracle Database Server Backup and Lotus Domino: DATABASE or LOG.

MS SQL Server Backup: DATABASE, DIFFERENTIAL or LOG.

ShadowProtect System Backup: COMPLETE, DIFFERENTIAL or INCREMENTAL.

MS Hyper-V Backup: INCREMENTAL or DATABASE.

VMware Backup:

VMware ESXi 5.5 / 6 / 6.5 / 6.7 / 7.0 / 8.0 or VMware vCenter 5.5 / 6 / 6.5 / 6.7 / 7.0 / 8.0: DATABASE or INCREMENTAL.

VMware Player 6 / 7 or VMware Workstation Player 12 / 14 / 15 / 16: SKIP or POWEROFF.

VMware Workstation 10 / 11, VMware Workstation Pro 12 / 14 / 15 / 16 or VMware Fusion 6 / 7 / 8 / 10 / 11 / 12: leave blank

WeekScheduleWeekScheduleMandatory for weekly schedule.
MonthScheduleMonthScheduleMandatory for monthly schedule.
CustomScheduleCustomScheduleMandatory for custom schedule.
MonthlyDateTypeStringMandatory for monthly schedule. The value can be either be DATE or CRITERIA.
PeriodString(optional) The value can be either be AM or PM. If the parameter "Period" is specified as AM or PM then the parameter "Hour" is in 12-hour format. "1", "2" ..."12" can be set. If the parameter "Period" is not specified,, then the parameter "Hour" will default to 24-hour format. "0", "1"..."23" can be set.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, it appears only if status is "Error".
JSON Objects

TimeBean

KeyTypeDescription
HourInteger00-23
MinuteInteger00-59
DurationInteger(optional) If no value is specified, default value=-1. The value can either be "until full backup completed=-1" or "stop backup after xx hours=1 to 24". Must be -1 when "BackupInterval" > ().

WeekSchedule

KeyTypeDescription
SunBooleanTrue / False
MonBooleanTrue / False
TueBooleanTrue / False
WedBooleanTrue / False
ThuBooleanTrue / False
FriBooleanTrue / False
SatBooleanTrue / False

MonthSchedule

KeyTypeDescription
OccurrenceStringThe value can be one of the following: First, Second, Third, Fourth or Last.
CriteriaStringThe value can be one of the following: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Weekday or Weekend.
DateIntegerComplete date.

CustomSchedule

KeyTypeDescription
YearIntegerIn yyyy format.
MonthIntegerIn MM format.
DayIntegerIn dd format.
Examples

Example 1: Input Daily Schedule

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"Name":"DAILYTEST",
	"Type":"DAILY",
	"BackupInterval":5,
	"FullBackup":true,
	"SpaceFreeUpEnabled":false,
	"SkipBackupEnabled":false
}

OUTPUT

{
	"Status":"OK"
}

Example 2: Input Weekly Schedule

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"Name":"WEEKLYTEST",
	"Type":"WEEKLY",
	"BackupInterval":-1,
	"FullBackup":true,
	"Time":{
		"Hour":08,
		"Minute":00
	},
	"SpaceFreeUpEnabled":true,
	"SkipBackupEnabled":true,
	"WeekSchedule":{
		"Sun":true,
		"Mon":true,
		"Tue":true,
		"Wed":false,
		"Thu":false,
		"Fri":true,
		"Sat":true
	}
}

OUTPUT

{
	"Status":"OK"
}

Example 3: Input Incorrect Value for BackupInterval

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"Name":"DAILYTEST",
	"Type":"DAILY",
	"BackupInterval":9,
	"FullBackup":true,
	"SpaceFreeUpEnabled":false,
	"SkipBackupEnabled":false
}

OUTPUT

{
	"Status":"Error",
	"Message":"ScheduleSettings parameter BackupInterval only can be -1 OR one of the following value: [1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60, 120, 180,, 240, 480, 720]",
	"ExptType":"com.ahsay.obs.core.dbs.DbsException"
}

 

UpdateSchedule (v1,v2)

This API updates the backup schedule settings on a backup set. It will preserve existing values.

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% > Backup Schedule

 

v1 UpdateSchedule.do


URL

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

Deprecated Since Version: 7.15.6.38

 

v2 UpdateSchedule.do


URL

https://CBS.EXAMPLE.COM/obs/api/json/2/UpdateSchedule.do

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
IDStringSchedule ID obtainable in GetBackupSet API.
NameStringName of the schedule.
TypeStringType of schedule, can be one of the following: DAILY, WEEKLY, MONTHLY or CUSTOM.
BackupIntervalIntegerFor periodic schedule, the value can be "1" or one of the following: 1, 2, 3, 4, 5, 10, 12, 15, 20, 30, 60, 120, 240, 360,480 or 720. ("-1" means periodic schedule is disabled, that it is a normal schedule)
TimeTimeBean ObjectMandatory if "BackupInterval" < ().
FullBackupBooleanMust be true when "BackupInterval" > (). If it is true, the schedule backup will run until full backup is completed. Otherwise, it will stop after the duration specified in key "Duration" of the TimeBean in key "Time".
SpaceFreeUpEnabledBooleanRemove obsolete files according to retention policy from backup destination according to retention policy.
SkipBackupEnabledBooleanTrue / False
BackupTypeString

It must be empty for File, MySQL, MariaDB, Lotus Notes, System State, MS Windows Server 2008, MS Exchange Mail Level Backup, Cloud File, and Microsoft 365 Exchange Online backup sets.

For the following Backup Types, this parameter must be filled with one of the following:

MS Exchange Server (if VSS supported): DATABASE, LOG, COPY or DIFFERENTIAL.

If not VSS supported: DATABASE or LOG.

Oracle Database Server Backup and Lotus Domino: DATABASE or LOG.

MS SQL Server Backup: DATABASE, DIFFERENTIAL or LOG.

ShadowProtect System Backup: COMPLETE, DIFFERENTIAL or INCREMENTAL.

MS Hyper-V Backup: INCREMENTAL or DATABASE.

VMware Backup:

VMware ESXi 5.5 / 6 / 6.5 / 6.7 / 7.0 / 8.0 or VMware vCenter 5.5 / 6 / 6.5 / 6.7 / 7.0 / 8.0: DATABASE or INCREMENTAL.

VMware Player 6 / 7 or VMware Workstation Player 12 / 14 / 15 / 16: SKIP or POWEROFF.

VMware Workstation 10 / 11, VMware Workstation Pro 12 / 14 / 15 / 16 or VMware Fusion 6 / 7 / 8 / 10 / 11 / 12: leave blank

WeekScheduleWeekScheduleMandatory for weekly schedule.
MonthScheduleMonthScheduleMandatory for monthly schedule.
CustomScheduleCustomScheduleMandatory for custom schedule.
MonthlyDateTypeStringMandatory for monthly schedule. The value can be either be DATE or CRITERIA.
PeriodString(optional) The value can be either be AM or PM. If the parameter "Period" is specified as AM or PM then the parameter "Hour" is in 12-hour format. "1", "2" ..."12" can be set. If the parameter "Period" is not specified,, then the parameter "Hour" will default to 24-hour format. "0", "1"..."23" can be set.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

TimeBean

KeyTypeDescription
HourInteger00-23
MinuteInteger00-59
DurationInteger(optional) If no value is specified, default value=-1. The value can either be "until full backup completed=-1" or "stop backup after xx hours=1 to 24". Must be -1 when "BackupInterval" > ().

WeekSchedule

KeyTypeDescription
SunBooleanTrue / False
MonBooleanTrue / False
TueBooleanTrue / False
WedBooleanTrue / False
ThuBooleanTrue / False
FriBooleanTrue / False
SatBooleanTrue / False

MonthSchedule

KeyTypeDescription
OccurrenceStringThe value can be one of the following: First, Second, Third, Fourth or Last.
CriteriaStringThe value can be one of the following: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Weekday or Weekend.
DateIntegerComplete date.

CustomSchedule

KeyTypeDescription
YearIntegerIn yyyy format.
MonthIntegerIn MM format.
DayIntegerIn dd format.
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"ID":"1688116563583",
	"Name":"DAILYTEST",
	"Type":"DAILY",
	"FullBackup":true,
	"Time":{
		"Hour":21,
		"Minute":30
	},
	"SpaceFreeUpEnabled":true,
	"SkipBackupEnabled":true
}

OUTPUT

{
	"Status":"OK"
}

 

RemoveSchedule

This API removes a schedule from a backup set.

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% > Backup Schedule

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
IDString or Array of StringSchedule ID obtainable by calling the GetBackupSet API.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"ID":"1688116563583"
}

OUTPUT

{
	"Status":"OK"
}

 

AddFilter

This API allows you to add filters to the backup source of a backup set. You can choose to include or exclude files which match a specific pattern.

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 > Apply filters to the backup source

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
NameStringName of the filter.
TopDirStringDirectory where filter will be applied.
TypeStringType of filter, can either be DEFAULT or CUSTOM.
IncludeBooleanExclude or include matched files/folders under the top directory.
OnlyBooleanIf set to true, will not include all unmatched files/folders. If set to false, will include all unmatched files/folders.
Apply2DirBooleanApply filter to folders.
Apply2FileBooleanApply filter to files.
PatternsArray of PatternBeanRefer to PatternBean.
UsernameStringIf username and password are empty, add the address without credential.
PasswordStringIf username and password are empty, add the address without credential.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

PatternBean

KeyTypeDescription
PatternStringDescription of pattern for filter.
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"Name":"filter1",
	"TopDir":"C:\\test",
	"Type":"DEFAULT",
	"Include":false,
	"Only":true,
	"Apply2Dir":true,
	"Apply2File":true,
	"Patterns":[
		{
			"Pattern":".txt"
		},
		{
			"Pattern":".png"
		}
	]
}

OUTPUT

{
	"Status":"OK"
}

 

UpdateFilter

This API update the settings of a filter from a backup set.

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 > Apply filters to the backup source

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
IDStringFilter ID, obtainable by calling the GetBackupSet API.
NameStringName of the filter.
TopDirStringDirectory where filter will be applied.
TypeStringType of filter, can either be DEFAULT or CUSTOM.
IncludeBooleanExclude or include matched files/folders under the top directory.
OnlyBooleanIf set to true, will not include all unmatched files/folders. If set to false, will include all unmatched files/folders.
Apply2DirBooleanApply filter to folders.
Apply2FileBooleanApply filter to files.
PatternsArray of PatternBeanRefer to PatternBean.
UsernameStringIf username and password are empty, add the address without credential.
PasswordStringIf username and password are empty, add the address without credential.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

PatternBean

KeyTypeDescription
PatternStringDescription of pattern for filter.
Examples

Example 1: Update the name

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"ID":"1687499274011",
	"Name":"filter2updated"
}

OUTPUT

{
	"Status":"OK"
}

Example 2: Update pattern

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"ID":"1687499274011",
	"Name":"testupdated",
	"Patterns":[
		{
			"Pattern":".txt123"
		},
		{
			"Pattern":".png123"
		}
	]
}

OUTPUT

{
	"Status":"OK"
}

 

RemoveFilter

This API allows you to remove a filter from a backup set.

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 > Apply filters to the backup source

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
IDStringFilter ID, obtainable by calling the GetBackupSet API.
NameStringName of the filter.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"ID":"1687499274011"
}

OUTPUT

{
	"Status":"OK"
}

 

RemoveBandwidthControl

This API can be used to remove a bandwidth control setting from a backup set.

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% > Bandwidth Control

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
IDStringFilter ID, obtainable by calling the GetBackupSet API.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687137085658",
	"ID":"1687500432855"
}

OUTPUT

{
	"Status":"OK"
}

 

AddBackupSet

This API allows you to create a new backup set for a user.

You may need to complement AddBackupSet with UpdateBackupSet API.

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

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

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
PlatformStringThe value can be one of the following: windows, mac or linux. Will determine the value for the "Temporary directory for storing backup files" value.
CloudFileTypeStringThe type of cloud file, please use one of the available types within the set provided in the table "Destination Type".
CloudBackupSourceSettingsJSON ObjectThe settings for the cloud backup source, the underlying parameters are specific to each destination type. Please refer to the tables labeled with “DestinationSettings (DESTINATION_TYPE)” under ADDPREDEFINEDDESTINATION API for the correct format of each cloud file type.
BackupSetNameStringName of the new backup set.
BackupSetTypeStringBackup type of the new backup set. The value can be one of the following: FILE. Cloud File, Lotus Domino, Lotus Notes, MariaDB, Microsoft Exchange Server, Microsoft Exchange Mail (MAPI), Microsoft SQL Server, Microsoft Windows Virtualization, Microsoft Windows System Backup, MySQL, Office 365 Exchange Online, Oracle Database Server, ShadowProtect Bare Metal, System State, VMware Virtualization, Linux Bare Metal, Tibero Database Server, Linux Bare Metal and PostgreSQL. Default value is FILE if BackupSetType is not specified.
BackupModeStringMandatory for BackupSetType="Microsoft SQL Server". Backup mode of MSSQL can either be 0:VSS or 1:ODBC.
VmVersionStringMandatory for BackupSetType="VMware Virtualization". VM version can be one of the following: APPVERSION_ESX_V2 (VMware ESX 4), APPVERSION_ESXI_V2 (VMware ESXi 4 or above), APPVERSION_VMSERVER1 (VMware Server 1), APPVERSION_VMSERVER2 (VMware Server 2), APPVERSION_WORKSTATION (VMware Workstation 6 / 6.5 / 7), APPVERSION_WORKSTATION8 (VMware Workstation 8 or above), APPVERSION_PLAYER (VMware Player 3 / 4 / 5 / 6 / 7, VMware Workstation Player 12), APPVERSION_FUSION (VMware Fusion 3 / 4), APPVERSION_FUSION5 (VMware Fusion 5 / 6 / 7 / 8) and APPVERSION_VCENTER_V2 (VMware vCenter 4 or above).
MsVmVersionStringMandatory for BackupSetType="Microsoft Windows Virtualization". MS VM version can be one of the following: Microsoft Hyper-V Server, Microsoft Hyper-V Server R2, Microsoft Hyper-V Server R2 (Failover Cluster), Microsoft Hyper-V Server 2012, Microsoft Hyper-V Server 2012 (Failover Cluster), Microsoft Hyper-V Server 2012 R2, Microsoft Hyper-V Server 2012 R2 (Failover Cluster), Microsoft Hyper-V Server 2016, Microsoft Hyper-V Server 2016 (Failover Cluster), Microsoft Hyper-V Server 2019 and Microsoft Hyper-V Server 2019 (Failover Cluster).
VersionStringMandatory for BackupSetType="Microsoft Exchange Server". MS Exchange Server version can be one of the following: 8 (MS Exchange Server 2007), 14 (MS Exchange Server 2010), 15 (MS Exchange Server 2013), 15.1 (MS Exchange Server 2016), 15.2 (MS Exchange Server 2019), DAG13 (MS Exchange Server 2013 (DAG)), DAG16 (MS Exchange Server 2016 (DAG)), DAG19 (MS Exchange Server 2019 (DAG)) and DAG (MS Exchange Server 2010 (DAG)).
MsMAPIExVersionStringMandatory for BackupSetType="Microsoft Exchange Mail (MAPI)". MS Exchange Mail version can be one of the following: 8 (MS Exchange Server 2007), 14 (MS Exchange Server 2010), 15 (MS Exchange Server 2013), 15.1 (MS Exchange Server 2016), 15.2 (MS Exchange Server 2019), DAG13 (MS Exchange Server 2013 (DAG)), DAG16 (MS Exchange Server 2016 (DAG)), DAG19 (MS Exchange Server 2019 (DAG)) and DAG (MS Exchange Server 2010 (DAG)).
EncryptionTypeStringEncryption type of the backup set. The value can be one of the following: DEFAULT, PASSWORD, CUSTOM and blank for no encrption. If the Encryption Type is not provided to the API = Encryption type not defined, This require the end user to define the Encryption type in the AhsayOBM/AhsayACB client for the backup set. If the EncryptionType = PASSWORD the BackupUserPassword must be specified.
BackupUserPasswordStringUsed when EncryptionType = PASSWORD. The BackupUserPassword must match with the existing user login password on the AhsayOBM/AhsayACB user account. Otherwise return error "The Backup User Password does not match with the existing user password".
AlgorithmStringEncryption algorithm of the backup set. The value can be set to one of the following: Twofish, DESede and AES. Default to AES if not provided.
MethodStringEncryption method of the backup set. The value can be set to one of the following: ECB and CBS. Default to CBC if not provided.
LengthStringEncryption key length of the backup set. The value can be set to one of the following: 128 and 256. Default to 256 if not provided.
KeyStringEncryption key of the backup set. The value cannot be empty.
RunOnServerBooleanRun on Server setting for Cloud File and Microsoft 365 backup set. If this setting is set to "True", "EncryptionType" cannot be left empty.
DestinationListArray of DestinationOptional.
EnableOpenDirectBooleanEnable OpenDirect feature. Only applies to pre-v9.13 AhsayCBS.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
BackupSetIDStringBackup set ID of the created backup set.
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

Destination

KeyTypeDescription
TypeStringDestination type, can be either OBS or Local.
NameString(Optional) If blank and the Type="OBS", the default value for the name is "CBS". If blank and the Type="Local", the default value for the name is "Local".
Examples

Example 1

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetName":"Test_Name",
	"BackupSetType":"Cloud File",
	"EncryptionType":"DEFAULT",
	"Length":"128",
	"Key":"123456",
	"Platform":"windows",
	"RunOnServer":false,
	"CloudFileType":"GDrive",
	"CloudBackupSourceSettings":{
		"Token":"4/0AeaYSHDXuv7rofdyAc20-g1Xoy4YoYite1Auly8NJA84CIGHtlmY9CSZ2ubfTN1N7pFqwQ"
	}
}

OUTPUT

{
	"Status":"OK",
	"BackupSetID":"1687501131522"
}

Example 2: CloudFileType parameter is missing

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetName":"API Cloud File Invalid",
	"BackupSetType":"Cloud File",
	"EncryptionType":"DEFAULT",
	"Length":"128",
	"Key":"hash",
	"Platform":"windows",
	"RunOnServer":false
}

OUTPUT

{
	"Status":"Error",
	"Message":"[Error] Invalid Platform. Please specify one of the following: windows / mac / linux",
	"ExptType":"java.lang.Exception"
}

Example 3: Wrong platform for backup set type

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetName":"Test_Name",
	"BackupSetType":"Tibero Database Server",
	"Platform":"mac",
	"DestinationList":[
		{
			"Name":"AhsayCBS",
			"Type":"OBS"
		}
	]
}

OUTPUT

{
	"Status":"Error",
	"Message":"[Error]Backup set type ‘Tibero Database Server’ is not supported on platform ‘mac’",
	"ExptType":"java.lang.Exception"
}

 

AddAllowedIP

This API allows you to add a range of IP of users which are allowed to perform restore in their computers.

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% > IP Allowed for Restore

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
NewAllowedIPAllowedIPBeanRefer to AllowedIPBean.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

AllowedIPBean

KeyTypeDescription
StartIPStringStarting value of allowable IP.
EndIPString(Ending value of allowable IP.
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687501131522",
	"NewAllowedIP":{
		"StartIP":"1.1.1.1",
		"EndIP":"255.255.255.255"
}

OUTPUT

{
	"Status":"OK"
}

 

RemoveAllowedIP

This API allows you to remove an IP range from the allowed IP list. Users whose IP is not in the allowed IP list are not able to perform restore in their computers.

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% > IP Allowed for Restore

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
AllowedIPAllowedIPBeanID of allowed IP to be removed.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687501131522",
	"AllowedIP":"1687501909703"
}

OUTPUT

{
	"Status":"OK"
}

 

DeleteBackupData

This API only works for backups from version 6 or older backup clients.

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
BackupSetNameStringEither backup set ID or backup set name should be provided.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".

 

DeleteBackupFile

This API only works for backups from version 6 or older backup clients.

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetNameStringEither backup set ID or backup set name should be provided.
InBackupJobStringBackup job ID.
PathStringPath to the backup files.
TypeStringBackup type, can be one of the following: F, D or I.
BackupByJobStringBackup job ID.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".

 

DeleteBackupSet

This API allows you to delete a backup set of a user.

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringBackup set ID.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Examples

Example 1

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687152855403"
}

OUTPUT

{
	"Status":"OK"
}

Example 2: Backup set contains non-AhsayCBS destination

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687501131522"
}

OUTPUT

{
	"Status":"Error",
	"Message":"Cannot delete the backup set 'Test_Name(1687501131522)' because the standard destination 'dest_Local' is used. Please delete the backup set via backup client console.",
	"ExptType":"com.ahsay.obs.core.dbs.DbsException"
}

Example 3: Login name does not exist or incorrect

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"test_user",
	"BackupSetID":"1687501131522"
}

OUTPUT

{
	"Status":"Error",
	"Message":"[UserCacheManager.NoSuchUserExpt] User ‘test_user’ not found.",
	"ExptType":"com.ahsay.obs.core.dbs.ad"
}

Example 4: Backup set ID is incorrect

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"test_user",
	"BackupSetID":"1687501131500"
}

OUTPUT

{
	"Status":"Error",
	"Message":"Backup set ‘1687501131500’ not found.",
	"ExptType":"com.ahsay.obs.core.dbs.DbsException"
}

 

GetBackupJobProgress

This API can be used to retrieve current progress of a backup job.

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

  • Monitoring > Backup / Restore Logs > Backup Jobs

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringBackup set ID.
DestinationIDStringDestination ID. Obtainable by calling the GetBackupSets API.
BackupJobIDStringBackup job ID. Obtainable by calling the GetBackupSets API.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
DataRecordRefer to Record.
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

Record

KeyTypeDescription
IDStringID of the record.
LoginNameStringName of the backup user.
OwnerStringOwner of the backup user.
UserIDStringUnique to each backup user.
StartTimeStringTime when backup job started. In yyyy-MM-dd HH:mm:ss format.
EndTimeStringTime when backup job finished. In yyyy-MM-dd HH:mm:ss format.
BackupSetIDStringID of the backup set.
BackupSetNameStringName of the backup set.
CurrentFileNameStringName of the current file being backed up.
FileUploadTimeStringTime when file was uploaded. In yyyy-MM-dd HH:mm:ss format.
CurrentFileCountStringCount of current file.
TotalFileCountStringTotal count of all files.
UploadedFileSizeStringTotal size of uploaded files.
TotalFileSizeStringTotal size of all files.
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687505199600",
	"DestinationID":"1687505211240,
	"BackupJobID":"2024-06-23-15-27-57"
}

OUTPUT

{
	"Status":"OK",
	"Data":{
		"BackupSetName":"default-backup-set-name-1",
		"LoginName":"obm",
		"Owner:"",
		"EndTime":"2024-06-23 15:29:37",
		"TotalFileCount":"70",
		"StartTime":"2024-06-23 15:28:16",
		"BackupSetID":"1687505199600",
		"UserID":"obm",
		"UploadedFileSize":"70479290",
		"CurrentFileName":"C:\\Users\\ahsay\\Desktop\\file_sample.exe",
		"TotalFileSize":"78477452",
		"ID":"2024-06-23-15-27-57",
		"CurrentFileCount":"0"
}

 

GetBackupSet (v1,v2)

This API can be used to retrieve backup set information.

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%

 

v1 GetBackupSet.do


URL

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

Deprecated Since Version: 7.15.6.38

 

v2 GetBackupSet.do


URL

https://CBS.EXAMPLE.COM/obs/api/json/2/GetBackupSet.do

Available Since Version: 9.7

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringBackup set ID.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
DataArrayInformation of the backup set.
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
DeduplicationSettingsObjectRefer to DeduplicationSettings in UpdateBackupSet API.
JSON Objects

Data

For details on all parameters returned by GetBackupSet.do, please refer to the input parameters outlined in the UpdateBackupSet section.

Array of DestinationList (Data{}:DestinationSettings{}:DestinationList[])

KeyTypeDescription
@classStringClassification of the different backup sets.
DataMigrationMappingMergedToIndexBooleanTrue / False
DataMigrationStatusStringFor v6 backup set. The different status are: NotStarted, Running, Finished and Verified.
DestinationKeyStringKey of the destination.
HostNameStringHostname or IP of the host.
IdStringID of the destination.
IndexMigrateLastAccessLongLast index migration access.
NameStringName of the destination.
PasswordStringPassword used to login to the destination.
PortLongPost used by the destination.
QuotaInfoStringQuota of the destination (if any).
ReadOnlyBooleanTrue / False
RunDirectEnabledBooleanTrue / False
SslcertificatesArrayArray list of SSL certificates.
StatisticsObjectRefer to Statistics.
TopDirStringFirst directory.
TypeStringType of directory.
UserNameStringUsername used to access the directory.
UsingProxyBooleanTrue / False
UsingSSLBooleanTrue / False
V6ClusterMigrateLockStringFor v6 backup set. Check if other cluster nodes are performing migration. If "Empty", not running Stage 1 so no need to lock.
V6DataMigrateLockStringUnused. For v6 backup set.
V6Index2MigrateBooleanFor v6 backup set. If "False", v7+ backup set. If "True", backup set is still v6 and has not undergone Stage 1 (v6 index migration).
Statistics (Data{}:DestinationSettings{}:DestinationList{}:Statistics{})
KeyTypeDescription
LastBackupClientVersionStringVersion used during last backup.
LastBackupCompleteTimeLongTime last backup was completed.
LastBackupJobIDStringID of last backup job.
LastBackupStartTimeLongTime last backup was started.
LastCdpBackupCompleteTimeLongTime last CDP backup was completed.
LastCdpBackupStartTimeLongTime last CDP backup was started.
LastDeltaMergeTimeLongTime of last delta merge.
LastDICTimeLongTime of last data integrity check.
LastDICVersionStringVersion of last data integrity check.
LastOffice365DSCTimeLongTime of last Microsoft 365 data synchronization check.
LastRestoreTimeLongTime of last restore.
LastStorageRebuildTimeLongTime of last storage rebuild.
LastSuccessBackupJobIDStringID of the last successful backup.
PdicrunBooleanTrue / False
TotalBackupCountIntegerTotal count of backups.
TotalRestoreCountIntegerTotal count of restores.
TotalRestoreObjectRefer to TotalRestore.
LastBackupObjectRefer to LastBackup.
DataAreaObjectRefer to DataArea.
DedupeSavingObjectRefer to DedupeSaving.
RetentionAreaObjectRefer to RetentionArea.
LastRestoreObjectRefer to LastRestore.
TotalBackupObjectRefer to TotalBackup.

TotalRestore (Data{}:DestinationSettings{}:DestinationList{}:Statistics{}:TotalRestore{})

KeyTypeDescription
TypeStringTOTAL_RESTORE.
FileCountIntegerNumber of files.
CompressedSizeLongSize of compressed files.
UncompressedSizeLongSize of uncompressed files.

LastBackup (Data{}:Destination{}:Statistics{}:LastBackup{})

KeyTypeDescription
TypeStringLAST_BACKUP.
FileCountIntegerNumber of files.
CompressedSizeLongSize of compressed files.
UncompressedSizeLongSize of uncompressed files.

DataArea (Data{}:DestinationSettings{}:DestinationList{}:Statistics{}:DataArea{})

KeyTypeDescription
TypeStringDATA_AREA.
FileCountIntegerNumber of files.
CompressedSizeLongSize of compressed files.
UncompressedSizeLongSize of uncompressed files.

DedupeSaving (Data{}:DestinationSettings{}:DestinationList{}:Statistics{}:DedupeSaving{})

KeyTypeDescription
TypeStringDEDUPE_SAVING.
FileCountIntegerNumber of files.
CompressedSizeLongSize after deduplication.
UncompressedSizeLongUncompressed original size.

RetentionArea (Data{}:DestinationSettings{}:DestinationList{}:Statistics{}:RetentionArea{})

KeyTypeDescription
TypeStringRETENTION_AREA.
FileCountIntegerNumber of files.
CompressedSizeLongSize of compressed files.
UncompressedSizeLongSize of uncompressed files.

LastRestore (Data{}:DestinationSettings{}:DestinationList{}:Statistics{}:LastRestPre{})

KeyTypeDescription
TypeStringLAST_RESTORE.
FileCountIntegerNumber of files.
CompressedSizeLongSize of compressed files.
UncompressedSizeLongSize of uncompressed files.

TotalBackup (Data{}:DestinationSettings{}:DestinationList{}:Statistics{}:TotalBackup{})

KeyTypeDescription
TypeStringTOTAL_BACKUP.
FileCountIntegerNumber of files.
CompressedSizeLongSize of compressed files.
UncompressedSizeLongSize of uncompressed files.

ModuleUsage

KeyTypeDescription
ModuleUsageLongUsage of module license by the backup set.
ModuleTypeStringType of module used by the backup set. The value can be one of the following: Office365Mail, MSExMailbox, MSHyperVVM and VMwareVM.
HostCountLongUse of AhsayOBM/AhsayACB license by the backup set.
Examples

Example 1

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"ACB",
	"BackupSetID":"1692674960375"
}

OUTPUT

{
	"Status":"OK",
	"Data":{
		"Timezone":"1098",
		"Delete":false,
		"Owner":null,
		"DisplayOwner":"-",
		"Os":"windows",
		"RunBackupSettings":{
			"DestinationIDList":[],
			"Enabled":false,
			"BackupType":"",
			"BackJobID":""
			"Id":""
		},
		"RunOnServer":false,
		"V6Passwords":{
			"ApplicationPassword":"",
			"WinUserAuthPassword":"",
			"Id":""
		},
		"SelectedShortcutList":[],
		"EnsureTopDirExistenceInLogin":true,
		"PreCommandList":[],
		"ApplicationSupportHyperVRunDirect":false,
		"RecycleBinSettings":{
			"Enabled":true,
			"Id":"",
			"RetentionPeriod":7
		},
		"Name":"default-backup-set-name-1",
		"FollowLink":true,
		"NasEncryptionKey":null,
		"ApplicationSupportBackupMacResourceData":false,
		"DataMigrationSettings":{
			"IntegrityCheckLastAccess":0,
			"DataMigrationMappingStart":false,
			"Id":"",
			"MigrationProgress":{
				"ReadOnly":false,
				"NumOfCompletedFiles":0,
				"CurrentMigratingFilePath":"",
				"Id":"",
				"TotalNumOfFiles":0
			},
			"SpaceFreeUpLastAccess":0
		},
		"OpenDirectEnabled":false,
		"EnableBackupEFSFile":true,
		"InFileDeltaSettings":{
			"MaxDeltaRation":50,
			"MinDeltaFileSize":26214400,
			"MonthlyInFileDeltaSchedule":{
				"Month":[
					"",
					"",
					"",
					"",
					"",
					"",
					"",
					"",
					"",
					"",
					"",
					""
				],
				"Criteria":"Friday",
				"Occurence":"First",
				"Date":0
			},
			"MaxNumOfDelta":100,
			"DeltaBlockSize":-1,
			"DeltaMergeEnabled":false,
			"UploadFullIfGenDeltaFailed":true,
			"Enabled":true,
			"WeeklyInFileDeltaSchedule":{
				"Day":[
					"",
					"",
					"",
					"",
					"",
					"",
					""
				],
				"Id":"",
				"DefaultDeltaType":"D"
			},
			"EncryptionSettings":{
				"Type":"DEFAULT",
				"KeyType":"hash",
				"InputStream":{},
				"Mode":"CBC",
				"NasKey":null,
				"Id":"",
				"Algorithm":"AES",
				"KeyLength":256,
				"Key":""
			},
			"LogoutType":"",
			"BackupTargetAsUNCPath":false,
			"LogRetentionDays":-1,
			"UsedQuota":0,
			"FilterSettings":{
				"Enabled":false,
				"FilterList":[],
				"Id":""
			},
			"DestinationSettings":{
				"ConcurrencyLevel":1,
				"MaxDestination":1,
				"Id":"",
				"DestinationList":[
					{
						"DeleteToken":"",
						"Immutable":false,
						"V6DataMigrateLock":"",
						"Port":0,
						"Name":"AhsayCBS",
						"UsingSSL":false,
						"V6ClusterMigrateLock":"",
						"DataMigrationMappingMergedToIndex":true,
						"IndexMigrateLastAccess":0,
						"HostName":null,
						"Password":null,
						"DestinationKey":"OBS",
						"ReadOnly":false,
						"@class":"com.ahsay.obx.cxp.obx.ObsDestination",
						"UserName":null,
						"UsingProxy":false,
						"DataMigrationStatus":"Verified",
						"Statistics":{
							"TotalRestore":{
								"Type":"TOTAL_RESTORE",
								"FileCount":0,
								"CompressedSize":0,
								"UncompressedSize":0
							},
							"LastBackup":{
								"Type":"LAST_BACKUP",
								"FileCount":0,
								"CompressedSize":0,
								"UncompressedSize":0
							},
							"DataArea":{
								"Type":"DATA_AREA",
								"FileCount":0,
								"CompressedSize":0,
								"UncompressedSize":0
							},
							"LastDICTime":-1,
							"LastOffice365DSCTime":-1,
							"Pdicrun":false,
							"TotalBackupCount":0,
							"LastRestore":{
								"Type":"LAST_RESTORE",
								"FileCount":0,
								"CompressedSize":0,
								"UncompressedSize":0
							},
							"LastDICVersion":"",
							"LastSuccessBackupJobID":"",
							"TotalRestoreCount":0,
							"LastBackupJobID":"",
							"RecycleBin":{
								"Type":"RECYCLE_BIN",
								"FileCount":0,
								"CompressedSize":0,
								"UncompressedSize":0
							},
							"DedupeSaving":{
								"Type":"DEDUPE_SAVING",
								"FileCount":0,
								"CompressedSize":0,
								"DataSize":0,
								"OriginalSize":0,
								"UncompressedSize":0
							},
							"LastBackupClientVersion":null,
							"LastBackupCompleteTime":-1,
							"LastDeltaMergeTime":-1,
							"LastCdpBackupStartTime":-1,
							"RetentionArea":{
								"Type":"RETENTION_AREA",
								"FileCount":0,
								"CompressedSize":0,
								"UncompressedSize":0
							},
							"LastRestoreTime":-1,
							"LastStorageRebuildTime":-1,
							"LastCdpBackupCompleteTime":-1,
							"TotalBackup":{
								"Type":"TOTAL_BACKUP",
								"FileCount":0,
								"CompressedSize":0,
								"UncompressedSize":0
							},
							"LastIndexUploadedBackupJobID":null
						},
						"V6Index2Migrate":false,
						"Type":"OBS",
						"QuotaInfo":"",
						"Id":"1703141860328",
						"Sslcertificates:[],
						"RunDirectEnabled":false,
						"TopDir":null
					}
				]
			},
			"EffectiveOwner":"-",
			"BackupJobName":"2024-12-21-16-07-10",
			"ApplicationSupportVMwareRunDirect":false,
			"RestoreDrillSettings:{
				"UploadKey":false,
				"RestoreInterval":6,
				"Enable":true,
				"Id":""
			},
			"ReminderSettings":{
				"OfflineBackupReminderComputerName":"",
				"BackupIntervalHour":0,
				"LogoutBackupReminderEnabled":false,
				"BackupIntervalDay":1,
				"ShowOfflineBackupReminder":false,
				"OfflineNotificationDay":7,
				"OfflineBackupEnabled":false,
				"Id":"",
				"LogoutBackupReminderComputerName":""
			},
			"ReadOnlySelectedSourceKeyList":[],
			"EffectiveFilterList":[],
			"TransferSize":262114,
			"LanPassword":"y8/VxMA=",
			"WorkingDir":"",
			"ApplicationSettings":{
				"@class":"com.ahsay.obx.cxp.cloud.TiberoSettings",
				"LoginID":"SYS",
				"Version":"",
				"Port":"1234",
				"Host":"127.0.0.1",
				"LastArchivedLog":"",
				"Id":"",
				"Password":"",
				"Sid":""
			},
			"Ewstype":false,
			"TotalQuota":0,
			"FileViewerEnabled":true,
			"AllowEmptyPathSource":false,
			"BackupTypes":[],
			"UploadPermission":true,
			"Id":"1703141639743",
			"ApplicationSupportOpenDirect":false,
			"VerifyBucketLocationLogin":true,
			"BandwidthControlSettings":{
				"Mode":"share",
				"Enabled":false,
				"Id":"",
				"BandwidthControlList":[]
			},
			"ProxySettings":null,
			"CloudName":"",
			"ScheduleSettings":{
				"DailyScheduleList":[],
				"WeeklyScheduleList:[],
				"CustomScheduleList":[],
				"LastRosPeriodJobAlertTime":0,
				"MonthlyScheduleList":[],
				"ComputerName":"",
				"Enable":false,
				"Id":"",
				"LastRosPeriodJobTriggerTime":0
			},
			"DeselectedSourceList":[],
			"DeleteTempFile":true,
			"ReadOnlyDeselectedSourceKeyList":[],
			"NoBackupSourceSelected":true,
			"PostCommandList":[],
			"LanUsername":"system",
			"ClientVersion":"",
			"LastUploadLogToServerTime":-1,
			"CloudFileSourceType":null,
			"TotalUploaded":0,
			"AllowedIPList":[
				{
					"ReadOnly":false,
					"StartIP":"0.0.0.0",
					"Id":"1703141906825",
					"EndIP":"255.255.255.255"
				}
			],
			"ModuleUsage":{
				"ModuleUsage":0,
				"HostCount":1
			},
			"DeduplicationSettings":{
				"MigrateData":false,
				"Scope":"ALL_FILES",
				"Enabled":true,
				"SettingsMigrated":false,
				"Id":"",
				"BlockSize":131072
			},
			"ApplicationSupportRunDirect":false,
			"@class":"com.ahsay.obx.cxp.obx.BackupSet",
			"RetentionPolicySettings":{
				"AdvancedRetentionPolicyList":[],
				"Type":"SIMPLE",
				"OverlapSensitive":false,
				"Period":7,
				"Id":"",
				"Unit":"DAYS"
			},
			"SubIndexType":false,
			"DefaultBSetSettings":{
				"Owner":"",
				"EnfBSe":false,
				"Category":"",
				"DefBSet":false,
				"Id":""
			},
			"DeltaType":"I",
			"Version7Checked":false,
			"ResolvedFromDefaultBset":false,
			"CompressType":"SnappyDefaultCompression",
			"Type":"Tibero Database Server",
			"LocalFilesBackup":true,
			"DisplayDestination":null,
			"LanDomain":"",
			"ShadowCopyEnabled":true,
			"LocalCopySettings":{
				"Zip":true,
				"DestinationPath":"",
				"SkipOffsiteBackup":false,
				"SetPermission":false,
				"Enabled":false,
				"LocalCopyRetentionPolicySettings":{
					"ReadOnly":false,
					"Enabled":false,
					"Period":7,
					"Id":"",
					"Unit":"DAYS"
				},
				"Id":""
			},
			"SettingsMigrated":false,
			"AllHostClientVersion":null,
			"SelectedSourceList":[]
		}
	}			
}

Example 2: Snippet of Deduplication Settings

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687505199600",
	"DestinationID":"1687505211240",
	"BackupJobID":"2024-06-23-15-27-57"
}

OUTPUT

{
	],
	"DeduplicationSettings":{
		"MigrateData":false,
		"Scope":"ALL_FILES",
		"Enabled":true,
		"SettingsMigrated":true,
		"Id":"",
		"BlockSize":65536
	},
}

Example 3: Snippet of Module Usage

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"ACB",
	"BackupSetID":"1692674960375"
}

OUTPUT

{
	],
	"ModuleUsage":{
		"ModuleUsage":1,
		"ModuleType":"Office365Mail",
		"HostCount":1
	}
}

 

ListBackupFiles

This API only works for backup data backed up by version 6 or older backup clients.

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringBackup set ID.
BackupJobIDStringBackup job ID. Obtainable in GetBackupSets API.
PathStringPath to the backup files.
ListAllBooleanIf true, all files are listed starting from the root directory.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
DataArrayInformation of the backup set.
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

Backup File

KeyTypeDescription
TypeStringD is for directory and F is for file.
NameStringName of the backup file.
FullPathStringPath to the file.
OriginalFileSizeLongOriginal file size of backup.
FileSizeLongSize of the backup file.
BackupedByJobStringJob that backed up the file.
InBackupJobStringBackup jobs with backup file.
LastModifiedLongDate of last change.
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687750405259",
	"BackJobID":"2024-06-26-11-43-15",
	"Path":"C:\\",
	"ListAll":true
}

OUTPUT

{
	"Status":"OK",
	"Data":[
		{
			"OriginalFileSize":0,
			"LastModified":"0",
			"Type":"0",
			"InBackupJob":"Current",
			"FullPath":"C:\\",
			"BackupedByJob":"2024-06-26-11-33-52",
			"Name":"",
			"FileSize":1536
		},
			"OriginalFileSize":0,
			"LastModified":"0",
			"Type":"0",
			"InBackupJob":"Current",
			"FullPath":"C:\\Users",
			"BackupedByJob":"2024-06-26-11-33-52",
			"Name":"Users",
			"FileSize":1536
		},
			"OriginalFileSize":174,
			"LastModified":"1575709962747",
			"Type":"F",
			"InBackupJob":"Current",
			"FullPath":"C:\\Users\\Public\\Desktop\\desktop.ini",
			"BackupedByJob":"2024-06-26-11-33-52",
			"Name":"desktop.ini",
			"FileSize":1716
		}
	]
}

 

ListBackupJobMode

This API can be used to list all backup job information at a specific date.

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

  • Monitoring > Backup / Restore Logs > Backup Jobs

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringBackup set ID.
BackupDateStringDate of backup, in yyyy-MM-dd format.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
DataArraySee Record.
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

Record

KeyTypeDescription
IDStringID of the record.
LoginNameStringName of the backup user.
OwnerStringOwner of the backup user.
UserIdStringID of the backup user.
StartTimeStringTime the backup job started.
EndTimeStringTime the backup job finished.
BackupSetIDStringID of the backup set.
BackupSetNameStringName of the backup set.
BackupJobModeStringThe backup job mode response can be one of the following: R = Remote backup, M = Manual backup, S = Scheduled backup or null = no backup.
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupDate":"2024-06-26-11-33-52"
}

OUTPUT

{
	"Status":"OK",
	"Data":[
		{
			"BackupSetName":"v6 File Backup",
			"LoginName":"obm",
			"Owner":"",
			"EndTime":"2024-06-26 11;34:15",
			"UserId":"obm",
			"StartTime":"2024-06-26 11:33:52",
			"BackupJobMode":"M",
			"BackupSetID":"1687750405259"
		}
	]
}

 

ListBackupJobs

This API can be used to show the basic information of all backup jobs performed by a specific user.

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

  • Monitoring > Backup / Restore Logs > Backup Jobs

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
SkipEmptyBooleanIf true, backup set with no files is skipped.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
DataArraySee Backup Set.
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

Backup Set

KeyTypeDescription
BackupSetIDStringID of the backup set.
RemovedBooleanShows whether the backup set is removed.
BackupJobArray of StringsArray list of backup jobs.
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm"
}

OUTPUT

{
	"Status":"OK",
	"Data":[
		{
			"BackupJob":[
				"2024-06-26-11-33-52"
			],
			"BackupSetID":"1687750405259",
			"Removed":false
		}
	]
}

 

ListBackupJobStatus

This API can be used to show detailed information such as destination ID and job status of all backup jobs performed by a specific user on a specific date.

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

  • Monitoring > Backup / Restore Logs > Backup Jobs

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
OwnerStringSub admin username (if applicable).
LoginNameStringUsername of the backup user.
BackupDateStringDate of backup, in yyyy-MM-dd format.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
DataArraySee Record.
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

Record

KeyTypeDescription
IDStringID of the record.
LoginNameStringName of the backup user.
OwnerStringSub admin username (if user is owned by sub admin).
UserIdStringID of the backup user.
StartTimeStringTime backup started, in yyyy-MM-dd format.
EndTimeStringTime backup finished, in yyyy-MM-dd format.
BackupJobStatusStringJob status, BS_STOP_SUCCESS if backup is successful. The error varies if the backup failed.
BackupSetIDStringID of the backup set.
BackupSetNameStringName of the backup set.
UploadSizeStringSize of the upload.
RunVersionStringVersion where job was run.
SuccessDatabaseStringDatabase of successful jobs.
MissedDatabaseStringDatabase of missed jobs.
SuccessVirtualMachineStringIf backup is VM type, SuccessPublicFolder is returned instead.
MissedVirtualMachineStringIf backup is VM type, MissedPublicFolder is returned instead.
SuccessPublicFolderStringOnly returned if backup is VM type.
MissedPublicFolderStringOnly returned if backup is VM type.
DestinationIDStringID of chosen destination.
Examples

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"Owner":"",
	"LoginName":"ACB",
	"BackupDate":"2024-08-16"
}

OUTPUT

{
	"Status":"Error",
	"Data":[
		{
			"BackupJobStatus":"BS_STOP_BY_USER",
			"BackupSetName":"TEST 1",
			"LoginName":"ACB",
			"Owner":"",
			"MissedDatabase":"",
			"EndTime":"2024-28-16 14:06:33",
			"SuccessDatabase":"",
			"SuccessPublicFolder":"",
			"StartTime":"2024-08-16 14:06:18"
			"BackupSetID":"1692164297907",
			"MissedPublicFolder":"",
			"DestinationID":"1692164297907",
			"UserID":"ACB",
			"UploadSize":0,
			"RunVersion":"9.7.0.0",
			"ID":"2024-08-16-14-16-17
		}
	]
}

 

ListBackupSets

This API can be used to show the name, type and ID of all backup sets of a specific user.

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

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

 

URL

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

Available Since Version: 9.7

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
ListAllBooleanTrue or False, shows all information for all backup sets of specified backup user.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
DataArraySee Backup Set.
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
ModuleUsageJSON ObjectSee ModuleUsage.
JSON Objects

Backup Set

KeyTypeDescription
IDStringID of the backup set.
NameStringName of the backup set.
TypeStringType of backup set.

ModuleUsage

KeyTypeDescription
ModuleUsageLongUsage of module license by the backup set.
ModuleTypeStringType of module used by the backup set. Can be one of the following: Office365Mail, MSExMailbox, MSHyperVVM or VMwareVM.
HostCountLongUsage of AhsayOBM / AhsayACB license by the backup set.
Examples

Example 1: If "ListAll" parameter is not used or is false

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"ACB"
}

OUTPUT

{
	"Status":"OK",
	"Data":[
		{
			"Type":"FILE",
			"ID":"1692320086130",
			"Name":"BackupSet-1"
		},
		{
			"Type":"Office 365 Exchange Online",
			"ID":"1692322592995",
			"Name":"M365-1"
		},
		{
			"Type":"Office 365 Exchange Online",
			"ID":"1692674960375",
			"Name":"M365-2"
		}
	]
}

Example 2: If "ListAll" parameter is set to true / snippet of Module Usage

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"ACB",
	"ListAll":true
}

OUTPUT

{
...
	"ModuleUsage":{
		"ModuleUsage":5,
		"ModuleType":"Office365Mail",
		"HostCount":1
	}
}
API results will vary depending on the usage of the parameter "ListAll".

 

RunBackup

This API can be used to start a backup for a specific user or to cancel a pending backup job from the server initiated backup job list.

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
CancelBackupBooleanThis option can be used to cancel a pending backup job from the server initiated backup job list. Cannot be used to stop / cancel an in process (running) backup job.
BackupTypeString

Type of backup. It must be empty for File, MySQL, MariaDB, Lotus Notes, System State, MS Windows Server 2008, MS Exchange Mail Level Backup, Cloud File, Microsoft 365 Exchange Online and Linux Bare Metal backup sets.

For the following Backup Types, this parameter must be filled with one of the following:

MS Exchange Server (if VSS supported): DATABASE, LOG, COPY or DIFFERENTIAL.

If not VSS supported: DATABASE or LOG.

Oracle Database Server Backup, Lotus Domino & Tibero Database Server Backup: DATABASE or LOG.

MS SQL Server Backup: DATABASE, DIFFERENTIAL or LOG.

ShadowProtect System Backup: COMPLETE, DIFFERENTIAL or INCREMENTAL.

MS Hyper-V Backup:INCREMENTAL or DATABASE.

VMware Backup (VMware ESXi 5.5 / 6 / 6.5 / 6.7 / 7.0 / 8.0 or VMware vCenter 5.5 / 6 / 6.5 / 6.7 / 7.0 / 8.0): DATABASE or INCREMENTAL.

VMware Player 6 / 7/ VMware Workstation Player 12 / 14 / 15 / 16: SKIP or POWER-OFF.

VMware Workstation 10 / 11 / VMware Workstation Pro 12 / 14 / 15 / 16 or VMware Fusion 6 / 7 / 8 / 10 / 11 /12: leave blank.

Return Values
KeyTypeDescription
StatusString"OK" or "Error"
DataArrayArray list of data
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"username",
	"BackupSetID":"1462518403716"
}

OUTPUT

{
	"Status":"OK"
}

 

AddPreCommand

This API can be used to add a pre-backup command to a backup set.

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% > Command Line Tool

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
NameStringName of the command.
WorkingDirStringDirectory where the command takes place.
CommandStringActual command.
UsernameStringIf username and password are empty, add the address without credential.
PasswordStringIf username and password are empty, add the address without credential.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Examples

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687755057644",
	"Name":"test,
	"WorkingDir":"test",
	"Command":"test"
}

OUTPUT

{
	"Status":"OK"
}

 

UpdatePreCommand

This API can be used to update a pre-backup command of a backup set.

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% > Command Line Tool

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
IDLongID of the command. Obtainable in GetBackupSets API.
NameStringName of the command.
WorkingDirStringDirectory where the command takes place.
CommandStringActual command.
UsernameStringIf username and password are empty, add the address without credential.
PasswordStringIf username and password are empty, add the address without credential.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Examples

Example 1: Update name

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687755057644",
	"ID":"1687755342349",
	"Name":"newname"
}

OUTPUT

{
	"Status":"OK"
}

Example 2: Update command content

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687755057644",
	"ID":"1687755342349",
	"Command":"newcommand"
}

OUTPUT

{
	"Status":"OK"
}

Example 3: Update working directory

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687755057644",
	"ID":"1687755342349",
	"WorkingDir":"newworkingdir"
}

OUTPUT

{
	"Status":"OK"
}

 

RemovePreCommand

This API can be used to remove a pre-backup command from a backup set.

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% > Command Line Tool

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
IDLongID of the command. Obtainable in GetBackupSet API.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687755057644",
	"ID":"1687755342349"
}

OUTPUT

{
	"Status":"OK"
}

 

AddPostCommand

This API can be used to add a post-backup command to a backup set.

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% > Command Line Tool

URL

 

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
NameStringName of the command.
WorkingDirStringDirectory where the command takes place.
CommandStringActual command.
UsernameStringIf username and password are empty, add the address without credential.
PasswordStringIf username and password are empty, add the address without credential.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687755057644",
	"Name":"test2,
	"WorkingDir":"test2",
	"Command":"test2"
}

OUTPUT

{
	"Status":"OK"
}

 

UpdatePostCommand

This API can be used to update a post-backup command of a backup set.

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% > Command Line Tool

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
IDLongID of the command. Obtainable in GetBackupSets API.
NameStringName of the command.
WorkingDirStringDirectory where the command takes place.
CommandStringActual command.
UsernameStringIf username and password are empty, add the address without credential.
PasswordStringIf username and password are empty, add the address without credential.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Examples

Example 1: Update name

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687755057644",
	"ID":"1687756006432",
	"Name":"newname"
}

OUTPUT

{
	"Status":"OK"
}

Example 2: Update command content

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687755057644",
	"ID":"1687756006432",
	"Command":"newcommand"
}

OUTPUT

{
	"Status":"OK"
}

Example 3: Update working directory

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687755057644",
	"ID":"1687756006432",
	"WorkingDir":"newworkingdir"
}

OUTPUT

{
	"Status":"OK"
}

 

RemovePostCommand

This API can be used to remove a post-backup command from a backup set.

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% > Command Line Tool

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin or API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
BackupSetIDStringID of the backup set. Obtainable in ListBackupSets API.
IDLongID of the command. Obtainable in GetBackupSet API.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"BackupSetID":"1687755057644",
	"ID":"1687756006432"
}

OUTPUT

{
	"Status":"OK"
}

 

ListRestoreJobs

This API can be used to list all restore jobs of each backup set owned by specified users.

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

  • Monitoring > Backup / Restore Logs > Restore Jobs

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin, API or Read-Only API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
DataJSON ObjectSee Data.
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

Data

KeyTypeDescription
BackupSetIDStringID of the backup set.
RemovedBooleanShows whether the backup set is removed.
RestoreJobArray of StringTimestamp in yyyy-mm-dd-HH-mm-ss format.
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm"
}

OUTPUT

{
	"Status":"OK",
	"Data":[
		{
			"RestoreJob":[
				"2024-06-26-13-25-13"
			],
			"BackupSetID":"1687755057644",
			"Removed":false
		}
	]
}

 

ListRestoreJobStatus

This API can be used to list restore job status of a specified user on a particular date.

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

  • Monitoring > Backup / Restore Logs > Restore Jobs

 

URL

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

Available Since Version: 9.1

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin, API or Read-Only API role.
SysPwdStringPassword matching SysUser.
OwnerStringOwner of the backup user account, usually the sub-admin (if applicable).
LoginNameStringUsername of the backup user.
RestoreDateStringDate of restore job, in yyyy-MM-dd format.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
DataJSON ObjectSee Data.
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

Data

KeyTypeDescription
IDStringID of the restore job.
LoginNameStringName of the backup user.
OwnerStringOwner of the backup user account, usually the sub-admin (if applicable).
UserIDStringID of the backup user.
StartTimeStringTime restore job started, in yyyy-mm-dd-HH-mm-ss format.
EndTimeStringTime restore job ended, in yyyy-mm-dd-HH-mm-ss format.
RestoreJobStatusStringJob status. RESTORE_STOP_SUCCESS if the restore is successful. Error varies if the restore failed.
BackupSetIDStringID of the backup set.
BackupSetNameBooleanName of the backup set.
RestoreSizeStringSize after restore.
RunVersionStringClient version that ran the restore job.
SuccessDatabaseStringDatabase of successful restore jobs.
MissedDatabaseStringDatabase of missed restore jobs.
SuccessVirtualMachineStringIf backup is VM type, SuccessPublicFolder is returned instead.
MissedVirtualMachineStringIf backup is VM type, MissedPublicFolder is returned instead.
SuccessPublicFolderStringOnly returned if backup is VM type.
MissedPublicFolderStringOnly returned if backup is VM type.
DestinationIDStringID of the destination.
Examples

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm",
	"RestoreDate":"2024-06-26"
}

OUTPUT

{
	"Status":"OK",
	"Data":[
		{
			"Status":"RESTORE_STOP_SUCCESS",
			"BackupSetName":"default-backup-set-name-1",
			"LoginName":"obm",
			"Owner":"",
			"EndTime":"2024-06-26 13:25:21",
			"UserId":"obm",
			"RunVersion":"9.11.0.0",
			"StartTime":"2024-06-26 13:25:14",
			"ID":"2024-06-26-13-25-13",
			"BackupSetID":"1687755057644",
			"RestoreSize":0,
			"DestinationID":"1687755083984"
		}
	]
}

 

ListRestoreDrillJobs

This API can be list all completed restore drill jobs owned by a specified user.

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

  • Monitoring > Backup / Restore Logs > Restore Drill Jobs

 

URL

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

Available Since Version: 9.9

Parameters

KeyTypeDescription
SysUserStringUsername of an AhsayCBS System User with Admin, API or Read-Only API role.
SysPwdStringPassword matching SysUser.
LoginNameStringUsername of the backup user.
Return Values
KeyTypeDescription
StatusString"OK" or "Error"
DataJSON ObjectSee Data.
MessageStringError message, it only appears if status displays "Error".
ExptTypeStringThe type of exception, will only be displayed if the status is "Error".
JSON Objects

Data

KeyTypeDescription
RestoreDrillJobStringRestore drill job ID in timestamp format (yyyy-mm-dd-HH-mm-ss).
BackupSetIDStringID of the backup set.
DestinationIDStringID of the destination.
Example

INPUT

{
	"SysUser":"system",
	"SysPwd":"system1",
	"LoginName":"obm"
}

OUTPUT

{
	"Status":"OK",
	"Data":[
		{
			"RestoreDrillJob":"2024-10-16-10-28-01",
			"BackupSetID":"1697422994935",
			"DestinationID":"1697423083118"
		},
		{
			"RestoreDrillJob":"2024-10-16-10-30-06",
			"BackupSetID":"1697422994935",
			"DestinationID":"1697423083118"
		}
	]
}