# Copying the database

**URL:** https://community.cratedb.com/t/copying-the-database/1193
**Category:** CrateDB
**Created:** [August 22, 2022, 10:23am UTC](https://community.cratedb.com/t/copying-the-database/1193 "2022-08-22T10:23:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![djbestenergy](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@djbestenergy](https://community.cratedb.com/u/djbestenergy)
#### Post date: [August 22, 2022, 10:23am UTC](https://community.cratedb.com/t/copying-the-database/1193/1 "2022-08-22T10:23:07Z")

</div>

Hi all,

This is a semi-lazy request as I’m trying to copy some test data quickly without resorting to export method overhead : -  
Is it possible to copy the database folder structure to another instance on another machine ?  
or is the data intrinsically linked to the server instance ?

Many thanks in advance.  
David

---

<div class="post-metadata">

### Author: ![proddata](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/proddata/32/1379_2.png) [@proddata](https://community.cratedb.com/u/proddata)
#### Post date: [August 22, 2022, 11:01am UTC](https://community.cratedb.com/t/copying-the-database/1193/2 "2022-08-22T11:01:51Z")

</div>

If you copy the `data` folder to another machine, this should be possible, though not recommended. Be aware, that if both machines are on the same network and see each other this might lead to unexpected behaviour.

2 other options might be

- creating / restoring a snapshot
- enable logical replication between clusters.

---

<div class="post-metadata">

### Author: ![djbestenergy](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@djbestenergy](https://community.cratedb.com/u/djbestenergy)
#### Post date: [August 23, 2022, 10:44am UTC](https://community.cratedb.com/t/copying-the-database/1193/3 "2022-08-23T10:44:40Z")

</div>

Thanks for that - I must admit I totally forgot about snapshots.  
Also moving the data might be sub optimal in my case as i have a 3 docker node so its actually 48 GB rather than 16GB.

Thanks for your help!.
