30.6.3. Data restore


<< Prev   Next >>

The main data restore scenario is to restore data from a dump that is available "right here and right now". In other words, it is a data dump that is already located in the dump list and on the same collaboration system server. To restore data from such dump, get a backup ID and use the BeginRestoreFromDataDump() or BeginRestoreFromDataDumpAsync() method. For more information, see below.

Another restore data scenario is to use a data dump file stored "independently" of the collaboration system server. For example, the server is installed on a new computer, but the dump from the previous server is available in a file. To restore data on the collaboration server:

  1. Provide the collaboration server with a file containing the data dump to restore. You can do it using one of the following methods:
    1. Upload the data dump file using the client application. The dump file will be registered automatically.
    2. Place the data on the computer where the collaboration system server is deployed (to speed up the restore process) or in the storage available for the collaboration system server.

      Register the data dump file.

  2. Restore data from the registered backup.

To load a file using a client application, use the LoadDataDump()/LoadDataDumpAsync() methods. The LoadDataDumpAsync() method uses a path to the file but does not allow any interactive actions in the file selection dialog box. To select a file manually, use the LoadDataDumpAsync() method. To specify dialog box parameters, use a parameter of the PutFilesDialogParameters type. Once the file is uploaded, you will receive a data dump ID.

If you cannot upload the data dump file using the client application, you can provide the dump file for the collaboration server using the file system or S3 storage. After that, register the dump file on the collaboration server to get a data dump ID and to show the server where the file with the backup is located. To register the dump file, use the RegisterDataDump()/RegisterDataDumpAsync() methods.

After you receive the ID, you can restore data from the data dump. To do this, use the BeginRestoreFromDataDump()/BeginRestoreFromDataDumpAsync() methods. To check the restore status, use the CollaborationSystemDataDump.RestorationStatus property.

If you need to restore data from a dump created on the same collaboration system server, you can skip the steps to upload and register the file. In this case, you need to select the required dump, get its ID, and restore data.

<< Prev   Next >>

Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002