> For the complete documentation index, see [llms.txt](https://docs.storware.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.storware.eu/70/protecting-applications/applications/git.md).

# 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](/70/administration/applications/execution-configurations.md) 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](/70/administration/applications/backup-slas.md) configuration.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.storware.eu/70/protecting-applications/applications/git.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
