What happens if a sync fails?

You won’t lose data when a sync fails, however, no data will be added or updated in your destination.

Airbyte will automatically attempt to replicate data 3 times. You can see and export the logs for those attempts in the connection detail page. You can access this page through the Source or Destination detail page. Additionally, you can configure a Slack webhook to warn you when a sync fails.

In the future you will be able to configure other notification method (email, Sentry) and an option to create a GitHub issue with the logs. We’re still working on it, and the purpose would be to help the community and the Airbyte team to fix the issue as soon as possible, especially if it is a connector issue.

Until Airbyte has this system in place, here is what you can do:

  • File a GitHub issue: go here and file an issue with the detailed logs copied in the issue’s description. The team will be notified about your issue and will update it for any progress or comment on it.

  • Fix the issue yourself: Airbyte is open source so you don’t need to wait for anybody to fix your issue if it is important to you.

To do so, just fork the GitHub project and fix the piece of code that need fixing. If you’re okay with contributing your fix to the community, you can submit a pull request. We will review it ASAP.

  • Ask on Slack: don’t hesitate to ping the team on Slack.

Once all this is done, Airbyte resumes your sync from where it left off.

We truly appreciate any contribution you make to help the community. Airbyte will easily become the open-source standard with your participation!

Hi!

I have a related question. For each new attemp Airbyte will download the data from scratch or it will download only what it hasn’t downloaded yet.

I’m syncing hubspot and it failed after 35GB of email events downloaded. If it starts from scratch, after a successful sync, it will clean the tables from the failed attemps?

Hi and welcome to the forum, @cnrodrig! Currently temp tables are not cleaned up after a failed sync, but this is in the works:
https://github.com/airbytehq/airbyte/issues/4059

After a sync succeeds the temp tables are cleaned up using a macro:
https://github.com/airbytehq/airbyte/issues/7011