Share via


IBackupRestore members

Enables the content that a class represents to be backed up and restored.

The IBackupRestore type exposes the following members.

Properties

  Name Description
Public property CanRenameOnRestore Gets a value that indicates whether the IBackupRestore object can be renamed when it is restored.
Public property CanSelectForBackup Gets or sets a value that indicates whether the content component that is represented by the IBackupRestore object can be selected for backup, independently of its parent component, in the Central Administration user interface or some other UI.
Public property CanSelectForRestore Gets or sets a value that indicates whether the content component that is represented by the IBackupRestore object can be selected for restoration in the Central Administration user interface or some other UI.
Public property DiskSizeRequired Gets the amount of disk space, in bytes, that is required to store a backup of the content represented by the IBackupRestore object.
Public property Id Gets or sets an ID for the content component.
Public property Name Gets or sets a name, for use in the SharePoint farm backup and restore UI, for the content component.

Top

Methods

  Name Description
Public method AddBackupObjects Adds the IBackupRestore object and its child IBackupRestore objects to the specified backup object.
Public method OnAbort Assists in a graceful termination when a user cancels a backup or restore operation.
Public method OnBackup Creates and stores the backup copy of the content component.
Public method OnBackupComplete Provides post backup processing.
Public method OnPostRestore Provides post restore processing.
Public method OnPrepareBackup Provides preparation processing before a backup.
Public method OnPreRestore Provides restore preparation processing.
Public method OnRestore Reads the backed up content and copies it to the target destination of the restore operation.

Top

See also

Reference

IBackupRestore interface

Microsoft.SharePoint.Administration.Backup namespace