# Docker to K8s Backups using s3

**URL:** <https://forum.weaviate.io/t/docker-to-k8s-backups-using-s3/7533>\
**Category:** Support\
**Tags:** k8s, technical\
**Created:** [November 11, 2024, 10:37am UTC](https://forum.weaviate.io/t/docker-to-k8s-backups-using-s3/7533 "2024-11-11T10:37:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sudharshan](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@Sudharshan](https://forum.weaviate.io/u/Sudharshan)\
**Post date:** [November 11, 2024, 10:37am UTC](https://forum.weaviate.io/t/docker-to-k8s-backups-using-s3/7533/1 "2024-11-11T10:37:16Z")

</div>

### Description

A backup was taken from a multi-node Docker environment using S3 storage, then restored to a Kubernetes environment deployed with Helm and configured with three replicas.

### Server Setup Information

- Weaviate Server Version: semitechnologies/weaviate:1.23.7( **Docker** ), semitechnologies/weaviate:1.27.2( **K8s** )
- Deployment Method: docker & k8s
- Multi Node? Number of Running Nodes: 3
- Client Language and Version: Python
- Multitenancy: Nil

### Any additional Information

Taking the backup records from weaviate docker running environment and stored the data backups on S3 Bucket.

### Logs from K8s Deployment

{“action”:“try\_restore”,“backend”:“s3”,“backup\_id”:“first-backup”,“build\_git\_commit”:“64457c2”,“build\_go\_version”:“go1.22.9”,“build\_image\_tag”:“v1.27.2”,“build\_wv\_version”:“1.27.2”,“level”:“error”,“msg”:“cannot resolve hostname for "node1"”,“time”:“2024-11-11T10:29:59Z”,“took”:6559398683}

 ![K8s Deployment Data Backups Restoring](https://canada1.discourse-cdn.com/flex027/uploads/weaviate/original/2X/6/6720e65ad7fc71e7231f8274d515a06d7f7fd208.png)

Encountered issues while attempting to change the hostname and pod settings in a Kubernetes deployment, using both Helm and the YAML configuration file.

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [November 11, 2024, 9:44pm UTC](https://forum.weaviate.io/t/docker-to-k8s-backups-using-s3/7533/2 "2024-11-11T21:44:23Z")

</div>

hi @Sudharshan !!

Welcome to our community 🤗

This is an interesting thing to try and write an article. 🤔

I believe that the issue here is the different cluster hostname.

while in docker, your node hostname were node1, in your k8s it is different.

Depending on the size of your dataset, you can also migrate the data over.

I will play around more with this and poke around internally to see if we can come up with some guide o how to restore on that scenario.

Thanks!

---

<div class="post-metadata">

**Author:** ![Sudharshan](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@Sudharshan](https://forum.weaviate.io/u/Sudharshan)\
**Post date:** [November 12, 2024, 6:31am UTC](https://forum.weaviate.io/t/docker-to-k8s-backups-using-s3/7533/3 "2024-11-12T06:31:59Z")

</div>

## K8s Deployment using Helm

[Provide a reference link for deploying Weaviate on Kubernetes using Helm.](https://weaviate.io/developers/weaviate/installation/kubernetes)

Made changes to the replicas in the `values.yaml` file and updated the S3 backup configuration with the bucket details and AWS keys. Additionally, attempted to modify the naming convention for the pod but encountered issues preventing the pod service from starting.  
[_Tested using a single-node cluster for validation purposes only…_] 🫠

```bash
kubectl describe pod/node-0 -n weaviate

```

 ![Pod Status for Naming Changes](https://canada1.discourse-cdn.com/flex027/uploads/weaviate/original/2X/3/322cf28b39c8f2fcce09c5489fc4fc425f24af36.png)

## Log for K8s Pod

> {“action”:“bootstrap”,“build\_git\_commit”:“64457c2”,“build\_go\_version”:“go1.22.9”,“build\_image\_tag”:“v1.27.2”,“build\_wv\_version”:“1.27.2”,“join\_list”:{“weaviate-0”:8300},“level”:“warning”,“msg”:“unable to resolve any node address to join”,“time”:“2024-11-12T06:23:32Z”}  
> {“action”:“bootstrap”,“build\_git\_commit”:“64457c2”,“build\_go\_version”:“go1.22.9”,“build\_image\_tag”:“v1.27.2”,“build\_wv\_version”:“1.27.2”,“join\_list”:{“weaviate-0”:8300},“level”:“warning”,“msg”:“unable to resolve any node address to join”,“time”:“2024-11-12T06:23:34Z”}  
> {“action”:“bootstrap”,“build\_git\_commit”:“64457c2”,“build\_go\_version”:“go1.22.9”,“build\_image\_tag”:“v1.27.2”,“build\_wv\_version”:“1.27.2”,“join\_list”:{“weaviate-0”:8300},“level”:“warning”,“msg”:“unable to resolve any node address to join”,“time”:“2024-11-12T06:23:35Z”}  
> {“action”:“bootstrap”,“build\_git\_commit”:“64457c2”,“build\_go\_version”:“go1.22.9”,“build\_image\_tag”:“v1.27.2”,“build\_wv\_version”:“1.27.2”,“join\_list”:{“weaviate-0”:8300},“level”:“warning”,“msg”:“unable to resolve any node address to join”,“time”:“2024-11-12T06:23:36Z”}  
> {“action”:“bootstrap”,“build\_git\_commit”:“64457c2”,“build\_go\_version”:“go1.22.9”,“build\_image\_tag”:“v1.27.2”,“build\_wv\_version”:“1.27.2”,“join\_list”:{“weaviate-0”:8300},“level”:“warning”,“msg”:“unable to resolve any node address to join”,“time”:“2024-11-12T06:23:38Z”}  
> {“action”:“bootstrap”,“build\_git\_commit”:“64457c2”,“build\_go\_version”:“go1.22.9”,“build\_image\_tag”:“v1.27.2”,“build\_wv\_version”:“1.27.2”,“join\_list”:{“weaviate-0”:8300},“level”:“warning”,“msg”:“unable to resolve any node address to join”,“time”:“2024-11-12T06:23:39Z”}  
> {“action”:“bootstrap”,“build\_git\_commit”:“64457c2”,“build\_go\_version”:“go1.22.9”,“build\_image\_tag”:“v1.27.2”,“build\_wv\_version”:“1.27.2”,“join\_list”:{“weaviate-0”:8300},“level”:“warning”,“msg”:“unable to resolve any node address to join”,“time”:“2024-11-12T06:23:40Z”}  
> {“action”:“bootstrap”,“build\_git\_commit”:“64457c2”,“build\_go\_version”:“go1.22.9”,“build\_image\_tag”:“v1.27.2”,“build\_wv\_version”:“1.27.2”,“join\_list”:{“weaviate-0”:8300},“level”:“warning”,“msg”:“unable to resolve any node address to join”,“time”:“2024-11-12T06:23:42Z”}  
> {“action”:“bootstrap”,“build\_git\_commit”:“64457c2”,“build\_go\_version”:“go1.22.9”,“build\_image\_tag”:“v1.27.2”,“build\_wv\_version”:“1.27.2”,“join\_list”:{“weaviate-0”:8300},“level”:“warning”,“msg”:“unable to resolve any node address to join”,“time”:“2024-11-12T06:23:43Z”}  
> {“action”:“bootstrap”,“build\_git\_commit”:“64457c2”,“build\_go\_version”:“go1.22.9”,“build\_image\_tag”:“v1.27.2”,“build\_wv\_version”:“1.27.2”,“join\_list”:{“weaviate-0”:8300},“level”:“warning”,“msg”:“unable to resolve any node address to join”,“time”:“2024-11-12T06:23:44Z”}

**Is there a way to migrate data from a Docker environment to a Kubernetes environment in Weaviate?**

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [November 12, 2024, 7:21pm UTC](https://forum.weaviate.io/t/docker-to-k8s-backups-using-s3/7533/4 "2024-11-12T19:21:04Z")

</div>

well, if you don’t want to move your data, and is ok with actually mgirating it (copying from source and inserting to target), you can use this migration guide:

> **[Migrate data | Weaviate](https://weaviate.io/developers/weaviate/manage-data/migrate)**
>
> Learn how to migrate data within Weaviate for easy data handling.

If course, it would be interesting to tame this store from different deployments, but that can take some time 😬
