|
|
|
---
|
|
|
|
title: 'Sync with Data source'
|
|
|
|
description: 'Learn how to sync changes done in external data source with NocoDB.'
|
|
|
|
tags: ['Data Sources', 'Sync', 'External', 'PG', 'MySQL']
|
|
|
|
keywords: ['NocoDB data source', 'connect data source', 'external data source', 'PG data source', 'MySQL data source']
|
|
|
|
---
|
|
|
|
|
|
|
|
Access `Data Sources` tab in the `Base Settings` to sync changes done in the external data source with NocoDB.
|
|
|
|
1. Select the data source that you wish to sync metadata for
|
|
|
|
2. Click on the `Meta Sync` button listed under `Actions` column for the data source that you wish to sync metadata for
|
|
|
|
3. Click on the `Reload` button to refresh Sync state (Optional)
|
|
|
|
4. Any changes to the metadata identified will be listed in the `Sync State` column
|
|
|
|
5. Click on `Sync Now` button to sync the metadata changes
|
|
|
|
|
|
|
|
![sync metadata](/img/v2/data-source/data-source-meta-sync-1.png)
|
|
|
|
![sync metadata](/img/v2/data-source/data-source-meta-sync-2.png)
|
|
|
|
|
|
|
|
After the sync is complete, you can see the updated state in the `Sync State` column.
|
|
|
|
Sync modal also marks `Tables metadata is in Sync` in the header.
|
|
|
|
|
|
|
|
![post sync](/img/v2/data-source/data-source-post-sync.png)
|