# Time Machine

{% hint style="info" %}
Phần này mình muốn hướng đến những bạn có nhiều dữ liệu quan trọng hoặc những bạn mới mua ổ cứng và muốn dùng nó làm ổ chính.&#x20;
{% endhint %}

## **Backup with Time Machine**

### **Tạo phân vùng để chứa file backup Time Machine**&#x20;

B1: Vào `Disk Utility`.

<figure><img src="https://lh3.googleusercontent.com/TmsWNp0C943TtEsretXv50Ng1P9luw83qyrCdQs3srp_wZE6jTlZwnqJxIfIkLXxX9oTLQEqe82lBhUYMSzViseCFxZQgYYZDbNvUWupFdF96_AxdpKY678d7XQ7T2-2LzDg4Nu8=s0" alt=""><figcaption></figcaption></figure>

B2: Chọn Show All Device.

![](https://lh5.googleusercontent.com/fI1ZE1bTOPMNTqBMu2yVROZS995A7esH2CZYemmNqrBD4otY6rgKb_vkaqbFLAcF3CTgm9ALdYUIOLRiowp6Jp1OYhWjseTvp-J3CMCAO5W7_8oz1cSdM2_3PwcbXHz8VFw4juJL=s0)

B3: Chọn ổ cứng làm nơi backup.&#x20;

![](https://lh5.googleusercontent.com/cVZovmbnwHq3adjsActWYnGKBw48lVsPB0orV3nymegLS9L121Mi7qrnqUpQjcInb2NNTLuCIk57e4k_l7PSslLQ97o9F5X3IWFlhDYntN74hdU2G7PBhYjq82-AnpiY8mm2kfzu=s0)

B4: Chọn Partition.&#x20;

![](https://lh5.googleusercontent.com/56I1MP5ZDphobXdu2epuIIbDgXxLMLiHWGKKYMdXFXKstZb1x1oxfmc-Y_dOY7qZlaTwp10r0aP5gBtT7rytjfc5Se5PHV2t7pj2ocSGTBFV5odag92Ir7927jHGRFy6ZBsiIR7U=s0)

B5: Nhấn vào dấu “+”.

![](https://lh5.googleusercontent.com/b73a8i3hko-EalQdeEHM0NvZMOOOx0J6VyZnsDV25Uyiyy3DQN3nVDfqEFq4kciYF5hzxnDuP1zBkhg7IuqhT716jk7szdrROOGJ7mTjlUlJmWkVmgKar-i3h9_XDTRTTZwzbaJS=s0)

B6: Chỉnh sửa Size của Partition muốn tạo và Name Partition muốn tạo và chọn Apply.

![](https://lh5.googleusercontent.com/qIOA7WPBQH1FuXweggkhjJg7OZtZ9ode5MJsFL28FW3VfPgbiYQ5x63LDqZ7MvUSmTfGa26rajYH4h5NOrjqVxuv-Rybyg57eE-lSKAGNpTrP2HugvoP0PBZKjkV3OsnguCRy9nx=s0)

### **Tạo file backup với Time Machine**

B1: Các bạn vào `System Preferences.app`&#x20;

![](https://lh6.googleusercontent.com/GxRGf2HjcvZB2xyND72Gb5Lu4LMQlkSZncgx-4XnlsUZcdSnaMl_VnyZeXzyNnRV0gsaGlAGWVRytvL-6FsXJE9ysokGR4khQ9uVf_MeuoO3egCCd5Gf8i0doWoneqLyNC7fCMo6=s0)

B2: Chọn `Time Machine`.&#x20;

![](https://lh5.googleusercontent.com/QvthOUqCz0ZfbMmpPREqw0IscFU_xO45lqHBpTicTigKb0i9WGhBA-o4VnoOt-_4PUBzyUn4fyt77BCIzLQaTUy4PSPyrz5Z-1wIQOunnHKl54pvEbj6bGVSMU0EapNlJfClTyhl=s0)

B3: Chọn `Select Backup Disk`.&#x20;

![](https://lh6.googleusercontent.com/guuDOQiXDguXzHkON6VGKUu3c8Y_Y-5SW0_VDER-Wif412PqIRrAnRUo6gRwo2_NUvT7bFom4bsLkyqbFUAG7hpnRUZ5JYH5mA6s8na4f5rvXamPkaC2k8njl29tEx1iZahOgRc1=s0)

B4: Chọn ổ đĩa đã tạo ở bước trên.&#x20;

![](https://lh5.googleusercontent.com/suUOD0fj6trnIRdcDtWKVZe275dPU0-vlKFxHATmIcJuoJ1L_7uh4swVYy_YUGlkY3rPkcseKuoSPwHbgUYFPNtIOuN_yfHd9jXd9gOBmhFVIaPNm9-GzKIh4yRLx_2LElMwtDLo=s0)

B5: Chọn như ảnh.&#x20;

![](https://lh5.googleusercontent.com/tZ3p6ibcNdbFtAVXqn_mIt9RrgIuVl8BNgDtQEJgX7IPvSAQgmre5gV0vaF5tAEF04wf03M5npz4iIReYzblR-inuUoPvM3xLi2d6pM_Upyy9wlnyQOsdoPRnmZGJuIZxzgTtz46=s0)

B6: Chọn đợi đến khi hoàn thành.&#x20;

## **Restore file**

B1: Mở app Time Machine lên.&#x20;

![](https://lh6.googleusercontent.com/rfYfsHhyAhVYoFPKfnO4FBoSj-WjPKoifjg4Xb0gruimDKIxsusY37FwwvHeX0zLLIfy5O9JxG0NqFSESo0oOB9y1O-sgFxKiWk_GUd1iaXIICk0K8kLQY6OVTZZ5RCiRxiVE1WE=s0)

B2: Chọn folder cần Restore và ấn Restore.&#x20;

## **Chuyển toàn bộ dữ liệu sang ổ cứng mới**

### **Restore trong macOS**

B1: Mở `Migration Assistant`.

![](https://lh3.googleusercontent.com/aRRJ1kYu_KOawoOCsNrrAOYDK94KfiIvsJWTM0Sg3kOVY8Z5UBUTe9_JhNZcTUcXeTp23UyTV6Sm68TjvQDnSFf2WoLv047soLd2js0eIRkr7PZZWPSVj0xsTlSfO7VskemodEPQ=s0)

B2: Chọn `From a Mac, Time Machine backup, or startup disk`.&#x20;

![](https://lh4.googleusercontent.com/eMX8pinPME95Pc6sDwTRLrGMSAxgf2jWFYFp3ycBfxY4ZYLrLPnsxEMe9HFObpIUVs-NLAgmbRh-QeCfLyfgAAPw0RUzxCV7joMTDtEFOmiQ2AswnMibYNptNaI66pqsU430KqZ1=s0)

B3: Chọn bản sao lưu vừa tạo ở trên và chọn `Continue`.&#x20;

![](https://lh4.googleusercontent.com/7VDI3uAONbLDJu5PHEtJrBCgDdkt5S4Jg_0zNlQy-imIHxX9Oxq8-y9jaShd5HVZKrU_4KlFxJW0WefurOD8sEZjepZqhjD5quyjZeRli5tBCjMA20OJddUF9k8ckqA1ULhSzzeE=s0)

B4: Chọn các dữ liệu cần sao lưu và bấm `Continue` sau khi hoàn thành máy sẽ tự khởi động lại.&#x20;

![](https://lh6.googleusercontent.com/HKOujDumw904ZaAnH2BsHLasSrhYvjuCJW2ZgqGXTmvznjmskO4bh4D6FBflAUFi7hvhph9KdWITyUZ_-H6CDxDjZ4Zx4xYnDnOrqddBJnVyKmXW44JTeXLidJ0H02d0oDohMFj8=s0)

### **Restore trong Recovery**

B1: Restart lại máy ngay menu khởi động của OpenCore các bạn chọn Option Recovery và chọn `Restore from time machine backup`.

![](https://lh4.googleusercontent.com/-Fl1FzpJr6TocKRFGACEt6m9Vbs9G_7272NrvFESWvWYpaIqcqExLn3Gfu85IF39IvnpqI0SaE5FJtE0pwIvfayNAw-WRshqb73OGYXp44a3D6ID98cY5ZrVVfof0BfoseXaO2TF=s0)

B2: Chọn bản sao lưu&#x20;

> Theo ngày và giờ tạo

B3: Chọn ổ đĩa muốn chuyến dữ liệu (hãy chắc trên ổ đó không có dữ liệu).

B4: Đợi cho đến khi hoàn thành&#x20;

> Thông thường 2-5h tuỳ theo dung lượng

B5: Sau khi hoàn thành máy sẽ tự restart.

> **Lưu ý : Source tham khảo** [**Cách khôi phục MacBook từ bản sao lưu trên Time Machine. (macone.vn)**](https://macone.vn/tin-tuc/cach-khoi-phuc-macbook-tu-ban-sao-luu-tren-time-machine/)


---

# 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://basic.heavietnam.com/gerneral/time-machine.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.
