> For the complete documentation index, see [llms.txt](https://huongdan.onemartviet.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://huongdan.onemartviet.vn/banle/cach-dong-bo-sao-luu-va-backup-du-lieu-dung-cho-ban-offline/dong-bo-du-lieu.md).

# Đồng bộ dữ liệu

Chức năng đồng bộ dữ liệu sẽ giúp cho người dùng tự động đồng bộ dữ liệu của tài khoản lên **Google Drive**, dữ liệu sau 5 phút sẽ tự động đồng bộ 1 lần.

‌Với chức năng này, người dùng chỉ cần nhập **tài khoản Gmail** đang sử dụng, sau đó **Cấp quyền** thì tự động dữ liệu sẽ đồng bộ với **tài khoản Gmail** của người dùng

‌Một khi mất dữ liệu hoặc người dùng có nhu cầu chuyển đổi sang máy khác thì chỉ cần **khôi phục dữ liệu từ Google Drive**

‌**Muốn mở chức năng này lên thì làm như sau:**

&#x200C;***Bước 1:*** Quản trị viê n ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fone-mart-vi%2F-MRSzH6jpYc8j0Qxfnfb%2F-MRSzjtSGUCD6ptpwWCO%2F0.png?generation=1611115987288491\&alt=media](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fphan-mem-onemart-viet-ban-ban-le%2F-MUC4K-5KFeC23c5NONt%2F-MUC56kSyh7Ft6PiC1Vh%2F0.png?generation=1614053670471398\&alt=media)​

&#x200C;***Bước 2:*** Vào Thiết đặt cửa hàng

&#x200C;***Bước 3:*** Chọn ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fone-mart-vi%2F-MRSzH6jpYc8j0Qxfnfb%2F-MRSzjtTRPOPFD6pCyM8%2F1.png?generation=1611115987298745\&alt=media](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fphan-mem-onemart-viet-ban-ban-le%2F-MUC4K-5KFeC23c5NONt%2F-MUC56kTFfs42waIsHAC%2F1.png?generation=1614053670464214\&alt=media)​

&#x200C;***Bước 4:*** Gạt nút chỗ ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fone-mart-vi%2F-MRSzH6jpYc8j0Qxfnfb%2F-MRSzjtUEBUKWoUQ9GWV%2F2.png?generation=1611115987291654\&alt=media](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fphan-mem-onemart-viet-ban-ban-le%2F-MUC4K-5KFeC23c5NONt%2F-MUC56kU5auSPV5DiH4f%2F2.png?generation=1614053670474045\&alt=media)​

&#x200C;***Bước 5:*** Nhấn ![https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fone-mart-vi%2F-MRSzH6jpYc8j0Qxfnfb%2F-MRSzjtVu9p75NCWrlLN%2F3.png?generation=1611115987290808\&alt=media](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2Fphan-mem-onemart-viet-ban-ban-le%2F-MUC4K-5KFeC23c5NONt%2F-MUC56kVTCYoAPsEw9HT%2F3.png?generation=1614053670468337\&alt=media)​

&#x200C;***Bước 6:*** Nhập tài khoản Gmail

![](https://gblobscdn.gitbook.com/assets%2Fphan-mem-onemart-viet-ban-ban-le%2F-MUC4K-5KFeC23c5NONt%2F-MUC56kWcpApya9sutxM%2F4.png?alt=media)

<https://gblobscdn.gitbook.com/assets%2Fone-mart-vi%2F-MRSzH6jpYc8j0Qxfnfb%2F-MRSzjtWQ5xzmiPjTY6Y%2F4.png?alt=media>


---

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

```
GET https://huongdan.onemartviet.vn/banle/cach-dong-bo-sao-luu-va-backup-du-lieu-dung-cho-ban-offline/dong-bo-du-lieu.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.
