createBackup( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates an on-demand backup of live content in a site's collections.

By default, all of the site's collections are included in the backup. For a partial backup, specify which collections to include in the backup.collections parameter.

The process of creating a backup takes time. You can check whether a backup has completed successfully with List Backups.

You can store up to 3 on-demand backups for each site. If 3 on-demand backups already exist, the oldest existing on-demand backup for the site is deleted when a new one is created. Automated backups are not affected.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<CreateBackupResponse>
Did this help?