# Migrate Sync

{% hint style="info" %}
User permission: Administration > Sync
{% endhint %}

1. Ensure your new sync server meets the [system requirements](https://app.gitbook.com/s/qRvX8Eg8GftkyP0R8RVU/system-requirements).
2. Locate the folder on your computer that contains your sync files. This folder is typically labeled *Phocas* and contains the sync executable and configuration files. It might also contain scripts and raw data folders.

   <div align="left"><figure><img src="https://content.gitbook.com/content/vQCmtGTR7MsjcI62Vdki/blobs/y4rO9Z1yCoruXUNN7e1w/3273490636.png" alt="" width="387"><figcaption></figcaption></figure></div>
3. Copy that folder and paste it into your new server.
4. Ensure the sync files in the new location have access to your source data.&#x20;
   * ODBC connections can be tested from the sync file and files/directory links should still be valid on the new server.

     <div align="left"><figure><img src="https://content.gitbook.com/content/vQCmtGTR7MsjcI62Vdki/blobs/6K1jDvZbdShEdYgKKmuF/3273588844.png" alt="" width="358"><figcaption></figcaption></figure></div>
   * Flat file locations should be validated for the new server. The path should point toward the folder or files that contain your data.

     <div align="left"><figure><img src="https://content.gitbook.com/content/vQCmtGTR7MsjcI62Vdki/blobs/GUqTyRUNiNHQdRMfegY5/3272902639.png" alt="" width="356"><figcaption></figcaption></figure></div>
5. (If applicable) On your new computer, create a [scheduled task](https://docs.phocassoftware.com/administration/sync/schedule-the-sync-process) in Windows Task Scheduler that replicates the task that was on the old computer. The task should be executed by a user with administrative privileges on the Phocas folder. If the password expires for the executing user, the scheduled task will not run, causing data to not update within Phocas.
6. (Recommended) Take this opportunity to update your Sync application, as it’s better to use the most recent version. Go to the [Download step on the Sync page](https://docs.phocassoftware.com/administration/sync/..#sync-step1-downloadthesyncinstaller) and click the applicable Sync Installer link. The Installer will take you through the steps to download the Phocas Sync Installer to your computer. Ensure you select the folder where the current version is saved (the one you located in step 2 above).
7. Proceed to [test the new sync process](https://docs.phocassoftware.com/administration/sync/test-the-sync-process) to ensure it works.


---

# 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.phocassoftware.com/administration/sync/migrate-sync.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.
