Git
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 application configuration, define the following environment variables:
Environment Variables
VP_GITREPO_ADDRESS
string
Git clone address for the repository. Supports SSH and HTTPS.
VP_GITREPO_USERNAME
string
Git username with access to the repository.
VP_GITREPO_PASSWORD
string
Password for the Git user with repository access.
VP_GITREPO_STOREPATH
string
Path on the server connected to the Git repository for the temporary backup file. Use this directory only for Storware Backup & Recovery, as it is cleaned after each backup.
VP_GITREPO_SCRIPTPATH
string
Path to the backup script on the Storware Backup & Recovery node.
Note: After the new application is fully configured, save the changes and go to the Backup SLAs configuration.
Last updated