---
title: Replicate an organization
description: Replicate the state of an organization in InfluxDB Cloud
url: https://docs.influxdata.com/influxdb/cloud/admin/organizations/migrate-org/
estimated_tokens: 598
product: InfluxDB Cloud (TSM)
version: cloud
---

# Replicate an organization

The state of an organization consists of metadata (dashboards, buckets, and other resources) and data (time-series). An organization’s state at a point in time can be replicated to another organization by copying both metadata and data. To replicate the state of an organization:

1. Create a new organization using the [InfluxDB Cloud sign up page](https://cloud2.influxdata.com/signup). Use a different email address for the new organization.
    
2. **Replicate metadata**.  
    Use an [InfluxDB template](/influxdb/cloud/tools/influxdb-templates/create/) to migrate metadata resources. Export all resources, like dashboards and buckets, to a template manifest with [`influx export all`](/influxdb/cloud/tools/influxdb-templates/create/#export-all-resources). Then, [apply the template](/influxdb/cloud/reference/cli/influx/apply/#examples-how-to-apply-a-template-or-stack) to the new organization.
    
3. **Replicate data**.  
    Use one of the methods below to copy data to the new organization:
    
    -   [Export data to CSV](#export-data-to-csv)
    -   [Write data with Flux](#write-data-with-flux)
4. Re-invite users.
    

### Export data to CSV

1. Perform a query to return all specified data.
2. Save the results as CSV (to a location outside of InfluxDB Cloud).
3. Write the CSV data into a bucket in the new organization using the [`influx write`](/influxdb/cloud/reference/cli/influx/write/) command.

### Write data with Flux

Perform a query to return all specified data. Write results directly to a bucket in the new organization with the Flux [`to()` function](/flux/v0/stdlib/influxdata/influxdb/to/).

If writes are prevented by rate limiting, use the [`influx write --rate-limit`](/influxdb/cloud/reference/cli/influx/write/#write-annotated-csv-data-using-rate-limiting) flag to control the rate of writes. For more information on rate limits in InfluxDB Cloud, see [Exceeded rate limits](/influxdb/cloud/account-management/data-usage/#exceeded-rate-limits).
