Skip to main content

Fork your Aiven for ClickHouse® service

Fork your Aiven for ClickHouse® service to create an independent copy for testing, debugging, or development without affecting the original service.

Fork an Aiven service to create a complete copy of it from its latest backup. Forked services are independent and don't share resources with or increase the load on the original service. Common use cases for forking include:

  • Creating a snapshot to analyze an issue.
  • Creating a development copy of your production environment.
  • Testing upgrades before applying them to production services.
  • Creating an instance in a different cloud provider, region, or with a different plan.
  • Renaming a service.

During the forking process, the fork might initially have only one node while backups are being taken. The other nodes appear after the backup process is complete.

When you fork a service, its configuration, databases, tables, and access entities are copied to the new service.

Limitations

  • You can only fork services that have at least one backup.
  • Service integrations are not copied to the fork.
  • Cross-project forking is supported only within the same organization.
  • Point-in-time recovery is not supported. You can restore only to a daily backup state.
  • You cannot fork Aiven for ClickHouse services to a fewer number of nodes. Reducing the number of nodes is only possible by switching the service plan from Business to Startup on a running service.

Fork a service

  1. In your service, in the Backups section, click Backup management.
  2. Click Fork & restore.
  3. Choose the backup to fork from.
  4. Enter a name, and select the cloud and plan.
  5. Click Create fork.

Once the new fork service is running, you can set up your application's connection settings to point to this new fork service.

Related pages