# vBackup

vBackup is GreenNode's full backup service that protects your data, enabling automation of disk backups on virtual servers and storing them in the cloud. When using vBackup, you can centrally configure backup policies and monitor backup activity for GreenNode resources including creating automatic daily, weekly, and monthly backups. Each backup is a full file-based snapshot of your volume taken within the preferred scheduled time frame based on your policies while the virtual server is still running. This means that the Backup service is uninterrupted and offers you several complete restore options. vBackup automates and consolidates previously performed service-by-service backup tasks, eliminating the need to create custom scripts and time-consuming manual processes, allowing you to meet your regulatory and business backup compliance requirements.

## Main functions of vBackup <a href="#vbackup-mainfunctionsofvbackup" id="vbackup-mainfunctionsofvbackup"></a>

The vBackup service provides you with key functions including:

* **Backup:** Create backups of drives on your VM
* **Restore:** Perform a restore from the backup file to the original location

## **Component distribution** <a href="#vbackup-componentdistribution" id="vbackup-componentdistribution"></a>

<figure><img src="https://docs.vngcloud.vn/download/attachments/49649814/image2023-3-16_17-9-40.png?version=1&#x26;modificationDate=1678961380000&#x26;api=v2" alt=""><figcaption></figcaption></figure>

**Description of ingredients:**

* Portal: where to receive, manage when to perform backup / restore and the life cycle of backups according to the convention that users provide, which follows the following logic
* The object of the backup declaration is a vServer instance (single) but may or may not include all the Volumes attached to the instance. The volume of backup volumes at a time can be more than 1 which should ensure near-simultaneous snapshots
* vBackup service: is a backend service responsible for receiving two main actions, backup or restore from the Portal, and is responsible for optimally managing the storage space of an instance's life cycle and accompanying volumes. Further, it will be responsible for executing the most recent integrated tasks, which is to release vStorage as a "Backup Location" to support the starting point.
* vSnapshot service: is a service with the idea of managing snapshots to centralize this role at one point, beyond operations on snapshots will be able to cover all snapshots that the system creates for multiple purposes (Ex vSnapshot can can rollback snapshots generated by vbackup but still managed by vSnapshot)
* Message Queue: using rabbitmq as a message exchange channel is not too much of a specific explanation in this component, but the component mainly serves messages to communicate between apis if any, not for distributed backup jobs model.
* Backup Worker: are the edge services of vBackup distributed in the Regions responsible for executing Export/Import commands from Storage to a Cephfs and other data manipulation tasks in the future (Ex. compress, encrypt, zip) , generate download archive, migrate amazon...)
* vStorage: backup location will support in the early stages then can be other options on-cloud or on-premise location.


---

# Agent Instructions: 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:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vserver/compute-hcm03-1a/vbackup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
