# How to Backup the Yurbi Database on PostgreSQL

Source: https://help.yurbi.com/admin-guides/how-to-backup-the-yurbi-database-on-postgresql

## **Overview**

This section describes the procedure to perform a backup of Yurbi. It is important to do a backup of Yurbi including the Yurbi database because the database contains information such as report definitions, user provisioning, security profiles, and so on. Taking a backup helps you to restore the database anytime, in case any problem occurs with your system. The following steps are for Yurbi installed with a PostgreSQL database backend. If you are using the Microsoft SQL database option please follow these steps.

## **Performing a backup for Yurbi with embedded PostgreSQL Server**

Execute the following steps to do a backup if you are using Yurbi with embedded PostgreSQL Server:

#### 1. Go to the **Windows Administrative Tools &gt; Services**, and **stop the Yurbi Master Service and Yurbi Database Service**. **Select each service** and **click Stop** to stop the services.

![](https://cdn.eniston.com/bases/cc3ac355-78d7-4899-895d-b209f759f245/attachments/image-49890256751748019103131_1748019105.png)

#### **2. Go to C: &gt; Program Files (x86) &gt; yurbi**.

#### **3. Right-click** the **yurbi folder** and **select Copy**.

![](https://cdn.eniston.com/bases/cc3ac355-78d7-4899-895d-b209f759f245/attachments/image-60775150961748019103133_1748019106.png)

#### 4. Paste the folder in any other location, other than the hard-drive. To **paste the folder**, **right-click the location** and **select Paste**.

![](https://cdn.eniston.com/bases/cc3ac355-78d7-4899-895d-b209f759f245/attachments/image-94250012471748019103134_1748019106.png)

***Note****: If you are taking frequent backup, it is recommended to add the date of taking backup, in the folder name.*

#### 5. Go to the **Windows Administrative Tools &gt; Services**, and **restart the Yurbi Master Service and Yurbi Database Service**. **Select each service** and **click Restart** to start the services again.
