# 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](https://docs.storware.eu/backup-and-recovery-71/administration/applications/execution-configurations) 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](https://docs.storware.eu/backup-and-recovery-71/administration/applications/backup-slas) configuration.
