To create a new application for Git Repository instances backup, go to the tab: Applications -> Instances Then select the Create button. The 'Creating an Application Definition' section will be displayed, which needs to be completed. This is a description of how your script is going to be invoked - you need to specify:
Name - unique name of the application in the Storware Backup & Recovery system
Choose Node Config - select which node should perform the task
Backup policy - specify which backup policy should be used for this application
Command execution configuration - select a prepared template for Git Repository backup or create a new one yourself
After saving the changes to the application, you need to configure the environment variables in the settings section of your application as needed. When using the built-in script for database backup, define:
VP_GITREPO_ADDRESS - The git clone address (ssh/https) of the repository.
VP_GITREPO_USERNAME - Git name of the user with access to the specified repository.
VP_GITREPO_PASSWORD - Git password of the user with access to the specified repository.
VP_GITREPO_STOREPATH - Path on the server with connection to the Git repository, where Storware Backup & Recovery can place the temporary backup file. No other files should be stored in the given path since everything is removed after the backup is finished.
VP_GITREPO_SCRIPTPATH - Path on the Storware Backup & Recovery node, where the backup script is located.
Note: After the new application is fully configured, save the changes and go to the Backup SLAs configuration.