> For the complete documentation index, see [llms.txt](https://docs-epc.gitbook.io/ncs-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-epc.gitbook.io/ncs-documents/compute/compute-instance/managing-instance/auto-backup.md).

# Auto Backup

Auto backup คือการกำหนดให้ระบบ NIPA Cloud Space ทำ Snapshot ของ Volume ทั้งหมดที่ attach อยู่กับ Compute Instance โดยสามารถกำหนดระยะเวลา จำนวน และความถี่ในการ Auto Backup ได้

## Prerequisite

* ต้องมียอดคงเหลือใน Project มากกว่า 0 บาท หากไม่มีเงินอยู่ใน Project ศึกษาวิธีเติมเงินได้ที่ [ขั้นตอนการเติมเงินเข้าสู่ Project](/ncs-documents/nipa-cloud-space-overview/billing-and-wallet/topup-a-project-wallet.md)
* มี Compute Instance ที่ต้องการให้มีการสำรองข้อมูลอัตโนมัติ

## Instructions

### 1. เข้าสู่หน้า Compute Instances

ที่แถบเมนูทางซ้าย คลิกเลือกเมนู​ COMPUTE > Compute Instance เพื่อเข้าสู่หน้า Compute Instance&#x20;

<figure><img src="/files/2AQZKcHksI0um8k47MQM" alt=""><figcaption><p>Compute Instance list</p></figcaption></figure>

### 2. เข้าสู่หน้า Compute Instance Detail

คลิกที่รายการ Compute Instance ที่ต้องการ เพื่อเข้าสู่หน้า Compute Instance detail&#x20;

<figure><img src="/files/e32Vm9BxTtoiPzBJujzn" alt=""><figcaption><p>Compute Instance detail</p></figcaption></figure>

### 3. เลือก tab Auto Backup

ที่หน้า Compute Instance detail คลิก tab "Auto Backup" เพื่อดูข้อมูล Auto Backup ที่กำหนดไว้

<figure><img src="/files/0j030uqCXYHKC11RaTU0" alt=""><figcaption><p>Auto Backup tab</p></figcaption></figure>

### 4. เปิดการ Enable Auto Backup

เริ่มต้นใช้งาน Auto Backup โดยการคลิกที่สวิทช์ "Enable Auto Backup"&#x20;

ใน menu Confirm Enable Auto Backup ให้เลือก

* **Backup Interval** : ความถี่ในการทำ auto backup
* **Preferred Backup Time (AM)** : ช่วงเวลาที่ต้องการทำ auto backup แนะนำให้เลือกเวลาที่ไม่มีการใช้งาน หรือใช้งานน้อย เพราะการทำ auto backup อาจทำให้ performance ลดลง หรือเกิด data corrupt ได้
* **Rotations** : จำนวน auto backup ที่จะเก็บเอาไว้ เช่น ถ้าเลือกไว้เป็น 2 เมื่อถึงเวลาสร้าง auto backup ชุดที่ 3 ระบบจะลด auto backup ชุดแรกออก เพื่อให้คงเหลือไว้ 2 ชุด

เมื่อกำหนดค่าทั้งหมดแล้ว คลิกปุ่ม "CONFIRM" เพื่อบันทึกการตั้งค่า โดยการตั้งค่าจะถูกใช้งานในคืนถัดมา&#x20;

<figure><img src="/files/QgvU2RtZ9CC2QBYvlVYY" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
สามารถเข้ามาเปลี่ยนแปลค่าได้ภายหลังที่ปุ่ม "SETTING"\
![](/files/sT3PxGBWg9CKUW3RjWgv)
{% endhint %}


---

# 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-epc.gitbook.io/ncs-documents/compute/compute-instance/managing-instance/auto-backup.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.
