> For the complete documentation index, see [llms.txt](https://docs.veriscript.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.veriscript.app/01-installation-guide/05-verification-and-maintenance.md). Agents can also search and read this documentation through its [MCP server](https://docs.veriscript.app/~gitbook/mcp).

# 05 verification and maintenance

## ✅ รายการตรวจรับระบบ (UAT Sign-off Checklist)

| ลำดับ | รายการตรวจสอบ                | เกณฑ์ผ่านมาตรฐาน                                               |
| :---: | ---------------------------- | -------------------------------------------------------------- |
|   1   | **HTTPS / TLS 1.3 Portal**   | เข้าหน้าเว็บองค์กรได้โดยไม่มี Certificate Warning              |
|   2   | **Vector Search Speed**      | สแกนข้อความ 500 คำ เทียบดัชนี 1.47 ล้านเล่ม ใช้เวลา `< 200 ms` |
|   3   | **Local LLM AI Detection**   | ประมวลผล AI Score + Executive Summary ได้แม้ตัดสายอินเทอร์เน็ต |
|   4   | **Private Corpus Indexing**  | อัปโหลดเอกสารลับองค์กรและตรวจพบความซ้ำซ้อนภายในได้ถูกต้อง      |
|   5   | **Digital Certificate & QR** | ออกใบรับรอง PDF พร้อม QR Code ตรวจสอบความแท้จริงได้            |

## 💾 การตั้งเวลาสำรองข้อมูลอัตโนมัติ (Daily Automated Backup)

เพิ่มคำสั่งด้านล่างลงใน `crontab -e` เพื่อสำรองฐานข้อมูลทุกวันเวลา 02:00 น. (เก็บย้อนหลัง 14 วัน):

```bash
0 2 * * * docker exec veriscript-pgvector pg_dump -U veriscript_admin -Fc veriscript > /opt/veriscript/backups/veriscript_$(date +\%Y\%m\%d).dump && find /opt/veriscript/backups -name "*.dump" -mtime +14 -delete
```

## 🔄 การอัปเดตดัชนีงานวิจัยรายปี (Annual MA — แพ็กเกจ B)

{% hint style="success" %}
การนำเข้า **Delta Vector Patch** จะเพิ่มเฉพาะดัชนีงานวิจัยใหม่ของปีนั้นๆ โดยไม่ลบหรือกระทบต่อฐานข้อมูล Private Corpus ของมหาวิทยาลัย
{% endhint %}

```bash
docker exec -i veriscript-pgvector psql -U veriscript_admin -d veriscript < /opt/veriscript/backups/delta_corpus_2027.sql
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.veriscript.app/01-installation-guide/05-verification-and-maintenance.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
