To set up a *Full Refresh* sync in Airbyte, follow...
# ask-ai
k
To set up a Full Refresh sync in Airbyte, follow these general steps: 1. Create Source and Destination Connectors: Set up your source (e.g., Postgres) and destination (e.g., another Postgres, Databricks, etc.) connectors in Airbyte. 2. Create a Connection: Go to the "Connections" section in the Airbyte UI. Select your source and destination connectors to create a new connection. 3. Configure Sync Mode: When configuring the connection, choose the Full Refresh sync mode. You will have two main options: - Full Refresh | Overwrite: Each sync will replace all data in the destination table with the current data from the source. This ensures that deletions in the source are reflected in the destination. - Full Refresh | Append: Each sync will append all data from the source to the destination, resulting in accumulating data over time. This is useful for historical tracking or compliance needs. You can select the sync mode for each stream (table) individually. 4. Set Additional Parameters: - Replication Frequency: Choose how often the sync should run (manual for testing, or scheduled for production). - Destination Namespace/Prefix: Optionally, set a schema or table prefix for the destination. 5. Save and Run the Sync: Save your connection settings. You can then trigger the sync manually by clicking "Sync now" or wait for the scheduled time. Example: For a Postgres to Databricks sync, after selecting your source and destination, you might choose Full Refresh | Overwrite if you want the destination to always mirror the source, including deletions. If there is no suitable cursor field, this is often the recommended approach. You can have different sync modes for each table as needed. Once configured, save and run your sync to start the process [see example setup](https://airbyte.com/tutorials/load-data-into-delta-lake-on-databricks-lakehouse#step-4). Note: - Full Refresh syncs always copy all data from the source, which can be resource-intensive for large datasets. - The overwrite variant deletes all existing data in the destination table before loading new data, while the append variant simply adds to the existing data [see detailed explanation](https://airbyte.com/tutorials/full-data-synchronization#step-2). For more details and step-by-step examples, see the Airbyte documentation and tutorials on full refresh synchronization modes: - [Full Refresh - Overwrite](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/full-refresh-overwrite) - [Full Refresh - Append](https://airbyte.com/tutorials/full-data-synchronization#step-8)