I am creating a Backup plugin to extend VMWare backups for instances.
I was successfully able to register my plugin with Morpheus.
I have also added the integration for my plugin under “Backups > Integration” tab
Next, when I navigate to “Backups > Backups” and click on the “ADD” button to create a new backup, I am getting the default form with default options.
I want to render a form which has the custom options for my use case.
Do I have to create a new form “Library > Forms” and then somehow add this form to the Backups tab?
Can someone please provide some guidance on what the steps should be to create a Backup Plugin where I can render a custom form to create backups?
I am referring to the Rubrik repo and I have implemented the method getBackupOptionsTypes() in my code.
I have also created a test form under “Library > Options > Forms” menu and verified that the function is working as expected.
My problem is that I don’t know where to find this field in the Backup form.
Currently, when I am trying create a new Backup from “Backups > Backups” menu, I don’t see the field on the form.
I see the default form with Backup Type dropdown options:
File Backup
Directory Backup
Is there something that I am doing wrong or is this custom field is supposed to be displayed somewhere else?
It doesn’t look like you have your plugin provider fully setup. Once you can select your backup provider type from the list the associated option types will load into that form. Library forms are not used for backups.
Make sure you’ve added your provider for the desired provision type:
That should be all that is required. When creating a backup from the backups section the existing instance chosen must be compatible with the backup provider.