I have a large data set like 7 GB per data of Mixp...
# replication-troubleshooting
m
I have a large data set like 7 GB per data of Mixpanel i want to fetch 1 week data and then goes back to last 3 months how to do it changing source date will do it or anyother solution as i want to deliver something to customer
k
To fetch only 1 week of Mixpanel data and then go back to fetch the last 3 months, you can control the data range by adjusting the Start Date and End Date fields in the Mixpanel source configuration in Airbyte. Here’s how you can approach this: 1. Fetch 1 Week of Data: - Set the Start Date to the beginning of the week you want to fetch. - Set the End Date to the end of that week. - Run the sync to fetch just that week’s data. 2. Fetch Last 3 Months: - After delivering the 1-week data to your customer, update the Start Date to 3 months ago and the End Date to today (or your desired end date). - Run the sync again to fetch the last 3 months of data. Note: Changing the source configuration’s start and end dates is the recommended way to control the data window for Mixpanel in Airbyte. There is no built-in way to fetch non-contiguous or multiple custom date ranges in a single sync; you need to adjust the configuration and run separate syncs for each period you want to fetch. Performance Tip: Since Mixpanel has low API rate limits (60 requests per hour), consider using the Date slicing window parameter to break up large date ranges into smaller chunks, which can help manage memory usage and avoid timeouts when syncing large volumes of data. For example, set the date slicing window to a few days if you encounter performance issues when fetching large periods at once [Mixpanel performance considerations](https://docs.airbyte.com/integrations/sources/mixpanel#performance-considerations). Summary: Yes, changing the source’s start and end dates will allow you to fetch specific periods of data from Mixpanel. Run separate syncs for each period you need to deliver to your customer [Mixpanel setup guide](https://docs.airbyte.com/integrations/sources/mixpanel).
m
and how to sync that data daily should i change anything
??
@kapa.ai?
k
A message from kapa.ai
To fetch only 1 week of Mixpanel data and then go back to fetch the last 3 months, you should adjust the Start Date and End Date fields in your Mixpanel source configuration in Airbyte. This approach is supported and recommended by the official documentation. Here’s how you can do it: 1. Fetch 1 week of data: - Set the Start Date to the beginning of the week you want. - Set the End Date to the end of that week. - Run the sync to fetch just that week’s data. 2. Fetch the last 3 months: - Change the Start Date to 3 months ago. - Set the End Date to today (or your desired end date). - Run the sync again to fetch the last 3 months of data. Changing the source date fields is the correct way to control the data window for Mixpanel in Airbyte. There is no mention in the documentation of a built-in feature to fetch non-contiguous or multiple custom date ranges in a single sync; you need to adjust the configuration and run separate syncs for each period you want to fetch. Additionally, if you encounter performance issues due to the large data volume, you can use the Date slicing window parameter to break up the sync into smaller chunks (e.g., a few days at a time), which can help with memory usage and API rate limits [Mixpanel source connector documentation](https://docs.airbyte.com/integrations/sources/mixpanel). Summary: Yes, changing the source’s start and end dates will allow you to fetch specific periods of data from Mixpanel. Run separate syncs for each period you need to deliver to your customer.
m
i also have intercom i change its start date but no end date is present how can i do it @kapa.ai
k
A message from kapa.ai
For the Intercom source connector in Airbyte, you can set a start date to control from which point in time data will be replicated. However, based on the official documentation, there is **no option to set an end date**—the connector will always sync data from the specified start date up to the present (i.e., the latest available data) [Intercom setup guide](https://docs.airbyte.com/integrations/sources/intercom). If you need to limit the data to a specific time window (for example, only up to a certain end date), the knowledge sources do not mention a built-in way to do this directly in the Intercom connector configuration. You would need to handle any further filtering (such as removing records after a certain date) downstream, after the data has been loaded into your destination. Summary: - You can change the start date in the Intercom connector. - There is no end date parameter available in the connector configuration. - To limit data to a specific end date, you must filter the data after it has been synced. [Reference: Intercom source connector documentation](https://docs.airbyte.com/integrations/sources/intercom)
m
@kapa.ai i have change start date of intercom from last week to last month but new sync do not bring old data
k
A message from kapa.ai
If you change the start date of your Intercom source in Airbyte from last week to last month, but a new sync does not bring in the older data, this is a known limitation related to how Airbyte handles incremental syncs and state management. When you run an incremental sync, Airbyte keeps track of the latest synced record using a "state." If you change the start date to an earlier time, Airbyte will not automatically re-fetch older data unless you reset the connection state. This is because the state tells Airbyte to only fetch new or updated records since the last sync, regardless of the start date you set. To fetch older data after changing the start date, you need to reset the connection. This will clear the saved state and force Airbyte to re-sync all data from the new start date. This behavior is confirmed in user reports and issues, where users observed that changing the start date alone does not backfill older data unless the connection is reset [see discussion](https://github.com/airbytehq/airbyte/issues/52106). What to do: - Go to your Airbyte connection for Intercom. - Use the "Reset connection" option. - Run the sync again. This will fetch all data from the new start date. Note: This is a general behavior for incremental syncs in Airbyte, not just for Intercom. If you continue to experience issues even after resetting, there may be a connector-specific bug, as some users have reported state not updating or missing historical data in certain versions [see issue](https://github.com/airbytehq/airbyte/issues/52106). Summary: Changing the start date alone does not backfill older data. You must reset the connection to fetch data from the new (earlier) start date.
m
@kapa.ai i am on self hosted airbyte can not see reset option
k
A message from kapa.ai
In recent versions of Airbyte, the term "Reset" has been replaced with "Clear" in the UI and documentation. If you are on a self-hosted Airbyte instance and do not see a "Reset" option, look for the "Clear data" option instead. To perform a full removal of the data for all your streams: 1. Go to your connection's Settings tab. 2. Click Clear data. 3. Confirm the selection to remove all previously synced data from the destination for that connection. After clearing, you should run a sync again. This will backfill all historical data from your new start date. If you only want to clear a single stream, you can do so from the connection's status page by clicking the three dots next to the stream and selecting "Clear data" [Clearing your data](https://docs.airbyte.com/platform/operator-guides/clear). Note: Clearing your data is irreversible and will delete all records from your destination tables for that connection. If you do not see the "Clear data" option, please ensure you are running Airbyte v1.0.0 or later, as this terminology and functionality were introduced in that version [Clearing your data](https://docs.airbyte.com/platform/operator-guides/clear).
m
@kapa.ai i do not want clear data just want to get historic data
k
A message from kapa.ai
If you want to fetch additional historical data from Intercom after changing the start date (for example, from last week to last month), but do not want to clear or delete existing data in your destination, Airbyte's default incremental sync behavior will not automatically backfill the older data. This is because Airbyte tracks the sync state and only fetches new or updated records since the last sync, regardless of changes to the start date in the source configuration. The knowledge sources confirm that simply changing the start date will not cause Airbyte to fetch older data unless the connection state is reset or cleared. There is no built-in way to force Airbyte to backfill historical data without either resetting/clearing the connection or manually editing the connection state [see issue discussion](https://github.com/airbytehq/airbyte/issues/52106). Alternative approach: - You can try to manually edit the connection state to set the cursor (e.g., the last synced date) to an earlier point in time. This may allow Airbyte to fetch older data without clearing your destination. However, this process should be handled with care, as incorrect state changes can break your syncs. The Airbyte documentation notes that editing the connection state allows the sync to start from any date in the past, but warns that updates should be handled with extreme care and may require guidance from the Airbyte team [Modifying connection state](https://docs.airbyte.com/platform/1.7/cloud/managing-airbyte-cloud/manage-connection-state). Summary: - Changing the start date alone will not fetch older data. - Resetting/clearing the connection will fetch all data from the new start date, but will remove existing data in the destination. - Manually editing the connection state may allow you to fetch older data without clearing, but this is advanced and should be done carefully. If you need to proceed with manual state editing, follow the instructions in the Airbyte UI under the connection's Settings > Advanced > Connection State section, and update the state to reflect the earlier date you want to sync from. Confirm the changes and run the sync [Modifying connection state](https://docs.airbyte.com/platform/1.7/cloud/managing-airbyte-cloud/manage-connection-state). If you are unsure or the UI does not provide this option, there is no other documented way to fetch historical data without clearing or resetting the connection.
m
can i do it via api @kapa.ai
k
A message from kapa.ai
Yes, you can update the connection state via the Airbyte API to fetch historical data without clearing your destination data. This allows you to set the sync cursor to an earlier date, prompting Airbyte to fetch older records on the next sync. Here’s how you can do it: 1. Get the current state: Use the
/api/v1/state/get
endpoint with your connection ID to retrieve the current state. 2. Update the state: Modify the state payload to set the cursor (e.g., the date) to the earlier point you want to start syncing from. Then, use the
/api/v1/state/create_or_update
endpoint to update the state. Example API call to update state:
Copy code
bash curl -X POST "http://localhost:8000/api/v1/state/create_or_update" \   -H "Accept: application/json" \   -H "Content-Type: application/json" \   -d '{     "connectionId": "YOUR_CONNECTION_ID",     "connectionState": {       "stateType": "legacy",       "connectionId": "YOUR_CONNECTION_ID",       "state": {         "events": {           "updated_at": "2022-09-17T04:34:40"         }       }     }   }'
Replace
"YOUR_CONNECTION_ID"
and the date with your actual values. Important: - Editing the state should be done with care, as incorrect changes can break your syncs. - This approach does not clear your destination data; it only changes where Airbyte resumes syncing from in the source ([API usage example](https://discuss.airbyte.io/t/2698), [Modifying connection state](https://docs.airbyte.com/platform/1.7/cloud/managing-airbyte-cloud/manage-connection-state)). If you need more details on the API endpoints, refer to the [Airbyte API documentation](https://airbyte-public-api-docs.s3.us-east-2.amazonaws.com/rapidoc-api-docs.html#post-/v1/state/create_or_update). Summary: Yes, you can use the Airbyte API to update the connection state and fetch historical data without clearing your destination.
m
what this endpoint do Trigger a sync or reset job of a connection post https://api.airbyte.com/v1/jobs @kapa.ai
k
A message from kapa.ai
The
POST https://api.airbyte.com/v1/jobs
endpoint is used to trigger a sync or reset job for a specific Airbyte connection. When you call this endpoint, you provide the
connectionId
and specify the
jobType
(either
"sync"
or
"reset"
). This will start a new job for the given connection, either syncing data or resetting the connection as requested. Example request body:
Copy code
json {   "connectionId": "your-connection-id",   "jobType": "sync" }
What it does: - If
jobType
is
"sync"
, it starts a new sync job for the specified connection. - If
jobType
is
"reset"
, it starts a reset job for the specified connection. Response: The response includes details about the job, such as the job ID, status, type, start time, and other metadata ([API reference](https://raw.githubusercontent.com/airbytehq/airbyte-platform/f284238f0099c4c0a3542d4c42a88773c45c363d/airbyte-api/src/main/openapi/api.yaml)). For more details and example code, see the [Airbyte API documentation](https://raw.githubusercontent.com/airbytehq/airbyte-platform/f284238f0099c4c0a3542d4c42a88773c45c363d/airbyte-api/src/main/openapi/api.yaml).
m
what is mean by reset @kapa.ai
k
A message from kapa.ai
In Airbyte, "reset" (now called "clear" in recent versions) refers to the process of erasing all data that Airbyte has previously synced to your destination for a given connection or stream. When you perform a reset/clear, all records in the destination tables (or files, if using file-based destinations) are deleted, but the tables themselves are not removed. After a reset/clear, you typically need to run a sync again to reload data from the source. Key points: - Reset/Clear deletes all previously synced data in the destination for the selected connection or stream. - This action is irreversible—once cleared, the data cannot be recovered. - Reset/Clear is useful if you want to start fresh, for example, after changing the start date or fixing a configuration issue. - In the UI and documentation, "reset" has been replaced by "clear" since Airbyte v1.0.0 [Clearing your data](https://docs.airbyte.com/platform/operator-guides/clear). > Note: Reset/Clear causes data downtime, as your destination tables will be empty until a new sync is completed. If you only want to fetch additional historical data without deleting existing data, a reset/clear is not the right action. In that case, you should consider updating the connection state or using other advanced methods.
m
http://localhost:8000/api/v1/state/create_or_update getting unauthorize error on this @kapa.ai
k
A message from kapa.ai
If you are getting an "unauthorized" error when calling
POST http://localhost:8000/api/v1/state/create_or_update
, it means your Airbyte instance requires authentication and your API request is missing valid credentials. Possible causes and solutions: 1. Authentication is enabled: Recent versions of Airbyte (especially Self-Managed Enterprise and OSS) require authentication for API access. You need to include a valid access token in your API request headers. 2. How to get an access token: - First, obtain your
client_id
and
client_secret
from the Airbyte UI under Settings > Applications. - Use these credentials to request an access token:
Copy code
bash      curl -X POST http://localhost:8000/api/v1/applications/token \        -H "Content-Type: application/json" \        -d '{"client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET"}'
- The response will include an
access_token
. 3. Include the access token in your API call: Add the following header to your
state/create_or_update
request:
Copy code
Authorization: Bearer YOUR_ACCESS_TOKEN
Example:
Copy code
bash    curl -X POST http://localhost:8000/api/v1/state/create_or_update \      -H "Content-Type: application/json" \      -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \      -d '{ ... }'
If you are using an older version of Airbyte or have authentication disabled, you should not need a token. If you are unsure about your authentication setup, check your Airbyte deployment configuration or refer to the authentication documentation for your version [Authentication setup](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication). Summary: The "unauthorized" error means you need to authenticate your API request. Obtain an access token using your client credentials and include it as a Bearer token in your request headers [Configuring API Access](https://docs.airbyte.com/platform/next/enterprise-setup/api-access-config).
m
now getting forbiden error @kapa.ai
k
A message from kapa.ai
A "forbidden" (HTTP 403) error when calling the Airbyte API (such as
POST /api/v1/state/create_or_update
) typically means that your credentials are valid, but your user or application does not have permission to perform the requested action. Based on the knowledge sources, here are the most common causes and solutions: 1. Insufficient Permissions: Application keys (client_id/client_secret) are tied to individual users and their respective permissions. If the user associated with your application key does not have the necessary permissions, you will receive a 403 Forbidden error. Make sure the user has the correct role and access rights in Airbyte [Configuring API Access](https://docs.airbyte.com/platform/next/enterprise-setup/api-access-config). 2. API Endpoint Restrictions: Some endpoints may be restricted based on your Airbyte edition (OSS, Cloud, Enterprise) or deployment configuration. Ensure that the endpoint you are calling is available and permitted for your deployment type. 3. Incorrect API URL or Headers: Double-check that you are using the correct API URL and including the access token as a Bearer token in the Authorization header. 4. Known Issues: There have been reports of permission errors when using the API, especially if the API is accessed incorrectly or if the application key is not set up properly [Permission Issue](https://github.com/airbytehq/airbyte/discussions/49937). What you can do: - Verify that your application key is associated with a user who has sufficient permissions. - Make sure you are using the correct endpoint and including the access token in the Authorization header. - If you are using Airbyte OSS, ensure you are using the
/api/public/v1/...
path for API calls, as some endpoints differ between Cloud and OSS [How to properly delete a source and destination using Airbyte API?](https://github.com/airbytehq/airbyte/discussions/51531). - If the problem persists, review your Airbyte user roles and permissions, or try generating a new application key with an admin user. If you have checked all of the above and still receive a 403 error, the knowledge sources do not provide further troubleshooting steps for this specific scenario. You may need to consult your Airbyte deployment's logs or reach out to Airbyte support for more detailed assistance.
m
@kapa.ai is there a possibility i initialy set date to last 3 months but data insert in bigquery date wise and i get info of every insert
k
A message from kapa.ai
Yes, if you set the start date in the Mixpanel source configuration to 3 months ago, Airbyte will begin syncing data from that point forward. When using incremental sync, Airbyte will insert new records into BigQuery as they are fetched from the source, and each sync will only bring in new or updated records since the last sync, based on the cursor field (such as a timestamp or ID). In BigQuery, the data will be inserted according to the records' own date fields (e.g., event time or updated_at), so you will have the data organized by date as it exists in Mixpanel. Each insert into BigQuery will reflect the data as it is retrieved during each sync operation. You can monitor the inserts by querying your BigQuery tables and filtering by the relevant date fields. Additionally, Airbyte adds metadata fields such as
_airbyte_emitted_at
(the time Airbyte sent the record to the destination) and
_airbyte_ab_id
(a unique ID for each record) to the raw tables in BigQuery. This allows you to track when each record was inserted by Airbyte [see example](https://airbyte.com/tutorials/incremental-data-synchronization#step-7). Summary: - Setting the start date to 3 months ago will sync data from that point. - Data will be inserted into BigQuery with their original date fields. - You can track each insert using the
_airbyte_emitted_at
field in the raw tables. If you need to know the exact time each record was inserted by Airbyte, use the
_airbyte_emitted_at
field in your BigQuery tables [see tutorial](https://airbyte.com/tutorials/incremental-data-synchronization#step-7).
m
is there any webhook that can inform me @kapa.ai
k
A message from kapa.ai
Yes, Airbyte supports sending notifications via webhooks for various events, including successful and failed syncs. You can configure Airbyte to send webhook notifications to any generic webhook service, which can then inform you when data is inserted or a sync is completed. This is commonly used to trigger downstream processes or send alerts (for example, to Slack). The webhook payload includes detailed information about the sync, such as the workspace, connection, source, destination, job ID, start and finish times, and the number of records synced. Here is an example of a successful sync webhook payload:
Copy code
json {     "data": {         "workspace": { "id": "...", "name": "...", "url": "..." },         "connection": { "id": "...", "name": "...", "url": "..." },         "source": { "id": "...", "name": "...", "url": "..." },         "destination": { "id": "...", "name": "...", "url": "..." },         "jobId": 9988,         "startedAt": "2024-01-01T00:00:00Z",         "finishedAt": "2024-01-01T01:00:00Z",         "bytesEmitted": 1000,         "bytesCommitted": 1000,         "recordsEmitted": 89,         "recordsCommitted": 89,         "bytesEmittedFormatted": "1000 B",         "bytesCommittedFormatted": "90 B",         "success": true,         "durationInSeconds": 3600,         "durationFormatted": "1 hours 0 min"     } }
You can set up webhook notifications in your Airbyte workspace settings. This will notify you after each sync, but not for every individual record insert—notifications are at the sync job level, not per-row [Configure Webhook Notification Settings](https://docs.airbyte.com/platform/1.7/cloud/managing-airbyte-cloud/manage-airbyte-cloud-notifications#configure-webhook-notification-settings). For more details on configuring webhook notifications and example payloads, see the documentation: - [Set up webhook notifications](https://docs.airbyte.com/platform/next/cloud/managing-airbyte-cloud/manage-airbyte-cloud-notifications#set-up-webhook-notifications) - [Webhook payload examples](https://docs.airbyte.com/platform/1.7/cloud/managing-airbyte-cloud/manage-airbyte-cloud-notifications#configure-webhook-notification-settings) Summary: Airbyte can notify you via webhook after each sync job, including information about the number of records inserted, but not for every individual record insert.
m
what i want is i setup source with last 3 months date and create a connection and after every 1 day data entry i get notification
@kapa.ai
k
Sorry @Muhammad Hassaan Mustafa, I'm not sure what you mean. Please try again. 👋
m
what i want is i setup source with last 3 months date and create a connection and after every 1 day data entry i get notification @kapa.ai
k
A message from kapa.ai
Yes, you can achieve this with Airbyte: 1. Set up your Mixpanel source with the start date set to 3 months ago. This will ensure that your initial sync brings in the last 3 months of data [Mixpanel setup guide](https://docs.airbyte.com/integrations/sources/mixpanel). 2. Create a connection to your destination (e.g., BigQuery). 3. Schedule the sync to run every 1 day (daily). Airbyte allows you to set the sync schedule to every 24 hours, so new data from the previous day will be fetched and loaded into your destination automatically [Sync Schedules](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-schedules). 4. Set up webhook notifications in your Airbyte workspace. You can configure Airbyte to send a webhook notification after each sync job (success or failure). The webhook payload will include information such as the number of records inserted, the sync status, and other job details. This way, after each daily sync, you will receive a notification with the relevant information [Configure Webhook Notification Settings](https://docs.airbyte.com/platform/cloud/managing-airbyte-cloud/manage-airbyte-cloud-notifications#configure-webhook-notification-settings). Note: - The notification is sent after each sync job, not for every individual data entry, but it will inform you about the results of each daily sync, including how many records were inserted. - You can use any webhook-compatible service (e.g., Slack, custom endpoint) to receive these notifications. Summary: Set your source start date to 3 months ago, schedule daily syncs, and enable webhook notifications. You will then receive a notification after each daily data sync, containing details about the data loaded that day.
m
so first sync will try to fetch last 3 months data or how will it work @kapa.ai
k
A message from kapa.ai
Yes, the first sync will attempt to fetch all data from the last 3 months, starting from the start date you set in the Mixpanel source configuration. Airbyte will pull all records from that start date up to the present, and insert them into your destination (e.g., BigQuery). After the initial sync, subsequent scheduled syncs will only fetch new or updated records since the last sync, based on the cursor field (such as event time or updated_at) [Mixpanel setup guide](https://docs.airbyte.com/integrations/sources/mixpanel). So, to summarize: - First sync: Fetches all data from the last 3 months (from your configured start date to now). - Subsequent syncs: Fetch only new or updated data since the last sync. This is the standard behavior for incremental syncs in Airbyte [Incremental sync documentation](https://docs.airbyte.com/platform/1.7/connector-development/connector-builder-ui/incremental-sync).
m
now problem is my mixpanel have lot of data like 7 gb per day so for last 3 month and sync it right away will have issue @kapa.ai
k
A message from kapa.ai
You are correct—if your Mixpanel source has a very large volume of data (e.g., 7 GB per day), syncing the last 3 months (which could be hundreds of GBs) in a single initial sync can cause significant issues. These issues may include: - API rate limits: Mixpanel has low API rate limits (60 requests per hour), so large syncs can take a very long time or even fail due to throttling [Mixpanel performance considerations](https://docs.airbyte.com/integrations/sources/mixpanel#performance-considerations). - Resource exhaustion: Large syncs can consume a lot of memory and processing power, potentially leading to out-of-memory errors or timeouts. - Timeouts and failures: Airbyte’s initial sync for large tables can hit timeouts, and if a sync fails, it may need to restart from scratch unless proper checkpointing or slicing is used [Github Issue: Initial Load Timeout](https://github.com/airbytehq/airbyte/issues/47448). Recommended approaches: 1. Use Date Slicing Window: In the Mixpanel source configuration, set the Date slicing window to a small value (e.g., 1 day or even less). This breaks the sync into smaller, more manageable chunks, reducing memory usage and making it easier to recover from failures [Mixpanel setup guide](https://docs.airbyte.com/integrations/sources/mixpanel). 2. Start with a Shorter Date Range: Instead of syncing the full 3 months at once, consider syncing a shorter period first (e.g., 1 week), verify the process, and then gradually increase the range. This staged approach helps avoid overwhelming your system and the Mixpanel API. 3. Monitor and Adjust: Watch for any errors or performance issues during the sync. If you encounter problems, reduce the date slicing window further or split the sync into even smaller periods. Summary: Syncing a very large volume of data from Mixpanel in one go is likely to cause issues due to API rate limits and resource constraints. Use the Date slicing window parameter to break the sync into smaller chunks, and consider syncing shorter periods at a time to ensure reliability and performance [Mixpanel performance considerations](https://docs.airbyte.com/integrations/sources/mixpanel#performance-considerations).
m
@kapa.ai but if i start with short range how can i resync data as it will not sync back dates
k
A message from kapa.ai
If you start your Mixpanel sync with a short date range (for example, just 1 week), Airbyte will only fetch data from that period. If you later change the start date to an earlier date (to fetch older data), Airbyte will not automatically backfill the earlier data because it tracks the sync state and only fetches new or updated records since the last sync, regardless of changes to the start date. To fetch data for earlier dates after an initial short-range sync, you must reset or clear the connection state. This will force Airbyte to re-sync all data from the new (earlier) start date. However, this also means that, by default, all previously synced data in your destination will be deleted if you use the "clear" or "reset" option, unless you use a sync mode that retains history (like Incremental Append + Deduped) and choose the appropriate refresh option. Key points: - Changing the start date alone does not backfill older data; Airbyte relies on the saved state to determine what to sync. - To re-sync older data, you must reset/clear the connection or manually update the connection state to an earlier date [see discussion](https://github.com/airbytehq/airbyte/issues/52106). - Resetting/clearing will remove existing data in the destination unless you use a sync mode and refresh option that retains history [Refreshing your data](https://docs.airbyte.com/platform/operator-guides/refreshes). Summary: If you start with a short range and later want to sync earlier dates, you must reset/clear the connection or update the state. Airbyte will not automatically fetch back-dated data just by changing the start date.
m
so when u say if u use Incremental Append + Deduped it will delete all the data from my distination table then how will it repopulate it if it repopulate everything essential it will take time which we want to avoid @kapa.ai
k
A message from kapa.ai
When you use Incremental | Append + Deduped sync mode in Airbyte, and you perform a Clear (reset) or a Refresh and Remove Records operation, all existing data in your destination tables for that stream will be deleted. After this, Airbyte will repopulate the destination by syncing all data from the source, starting from the configured start date. This means the destination will be empty until the sync completes, and all data must be re-fetched and re-inserted, which can take significant time for large datasets [Clearing your data](https://docs.airbyte.com/platform/operator-guides/clear) [Refreshing your data](https://docs.airbyte.com/platform/operator-guides/refreshes). There is no shortcut in this process: if you clear or reset, Airbyte must re-import all data to repopulate the destination. This is why, for very large datasets, a full clear/reset is time-consuming and resource-intensive. Summary: - Clear/Reset deletes all data in the destination for the stream. - Airbyte then re-syncs and repopulates the data from the source, which takes time proportional to the data volume. - There is no built-in way to avoid this full re-import if you need to backfill earlier data after a clear/reset. If you want to avoid this, you would need to manage historical data outside of Airbyte or use advanced state management, but the knowledge sources do not provide a built-in solution for partial backfills without a full re-import in this scenario.