when running abctl in ec2, what backup options do ...
# ask-ai
a
when running abctl in ec2, what backup options do you have?
k
When running Airbyte with abctl on an EC2 instance, the official documentation does not provide a dedicated section or detailed instructions specifically for backup options in this scenario. However, general Airbyte backup guidance—such as backing up the internal Postgres database—is available for Kubernetes-based deployments and may be applicable if you are running Airbyte’s default internal database within your abctl-managed environment. For Kubernetes-based deployments, the recommended approach is to back up the internal Postgres database by using
pg_dump
inside the Postgres pod and then copying the dump file to a safe location. If you are using abctl (which runs Airbyte in a local Kubernetes cluster inside Docker), a similar approach could be adapted, but the documentation does not provide explicit steps for this with abctl on EC2. If you have configured Airbyte to use an external database (such as an AWS RDS instance), you should use the backup mechanisms provided by that database service. Summary: - There are no abctl-specific backup instructions for EC2 in the provided documentation. - General best practice is to back up the internal Postgres database (if used), or rely on external database backups if configured. - For more details on database backup in Kubernetes, see the [Helm chart upgrade guide](https://docs.airbyte.com/platform/next/deploying-airbyte/chart-v2-community#how-to-upgrade). If you need step-by-step backup instructions for abctl on EC2, the knowledge sources do not contain enough information to provide a confident answer.
a
@kapa.ai what informations are saved in this Postgres database? are all metadata included in here?
k
A message from kapa.ai
The internal Postgres database used by Airbyte stores several types of information: - Technical Logs: These are stored for troubleshooting purposes and may contain sensitive data, especially related to the connection’s state data. For incremental syncs, this can include the value of the cursor column (such as a timestamp or any other column chosen as the cursor) [Security (1.7)](https://docs.airbyte.com/platform/1.7/operating-airbyte/security). - Configuration Metadata: Airbyte retains configuration details and metadata such as table and column names for each integration [Security (1.7)](https://docs.airbyte.com/platform/1.7/operating-airbyte/security). - State Information: The state of each connection (such as the most recently emitted cursor and other state data) is persisted in the internal Postgres database, specifically in the
state
table. This includes information about CDC, stream names, cursor fields, and namespaces [Incremental Data Synchronization](https://airbyte.com/tutorials/incremental-data-synchronization#step-2). However, the documentation does not provide a comprehensive list of every type of metadata or internal object stored in the Postgres database. It is clear that all configuration, state, and some log data are included, but it is not explicitly stated that absolutely all metadata is stored there. If you need a full schema or exhaustive list, the knowledge sources do not provide that level of detail.