Is there a way to trigger custom Restore service with custom restore options

Hi Team,

We are trying to perform Restore on backups which are available in Backups > History > Backups Tab > Actions > Restore

The approach what we are following is:

  1. We are having our own BackupTypeProvider which will allows us to take backups by using our plugin.
  2. Now with in that BackupTypeProvider added below code to use Restore functionality
    public BackupRestoreProvider getRestoreProvider() {
        if(this.restoreProvider == null) {
            this.restoreProvider = new SvtRestoreProvider(getPlugin(), getMorpheus());
        }
        return this.restoreProvider;
    }
  1. Then, with in SvtRestoreProvider class, we are implementing BackupRestoreProvider
  2. and triggering restoreBackup() method
public ServiceResponse<BackupRestoreResponse> 
restoreBackup(BackupRestore backupRestoreModel, BackupResult backupResultModel, Backup backupModel, Map opts)

Expectation:
When we click Restore submit button we should be able to call our own Rest service.
For now when i click on Submit, restoreBackup method is not being called.

Questions:

  1. Are we in right direction ? anything we are missing ?
  2. Is there a way to add extra/custom Restore options ?
  3. I have seen few plugin samples, like Rubrik, Veam and commvault but they are following the below approach

Go to Backups > Integrations > Select Rubrik
Then add a Backup-Restore Rubrik plugin

do we have to follow the same pattern ? or is there a direct way integrate our Restore options with out integrating.

  1. Currently I could only see, New Instance Restore option. Shall we expect few more restore options? if yes how do we get it

@david @Ollie_Phillips

Thanks
Ramkee Mukuru

Hi Team,

Do we have any update ?

@Ollie_Phillips @david @ddeyoung

Thanks!