# Text-based backup of k0s controller for version control

**URL:** https://forums.k8slens.dev/t/text-based-backup-of-k0s-controller-for-version-control/3305
**Category:** All about k0s
**Tags:** k0s, cluster
**Created:** [June 4, 2024, 12:11pm UTC](https://forums.k8slens.dev/t/text-based-backup-of-k0s-controller-for-version-control/3305 "2024-06-04T12:11:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rashid.tajdeen](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/r/cdc98d/32.png) [@rashid.tajdeen](https://forums.k8slens.dev/u/rashid.tajdeen)
#### Post date: [June 4, 2024, 12:11pm UTC](https://forums.k8slens.dev/t/text-based-backup-of-k0s-controller-for-version-control/3305/1 "2024-06-04T12:11:12Z")

</div>

Hello,

We currently have a k0s controller and multiple workers running. We are able to backup the controller using the [k0s backup/restore](https://docs.k0sproject.io/head/backup/) functionality.

But we would like to have the ability of version control. So we are looking for a text based backup solution. Is there a way to backup specific files (not binaries) which would enable us to do a complete restore of the controller?

Thanks in advance,  
Rashid Tajdeen

---

<div class="post-metadata">

### Author: ![cvdlinden](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/c/e8c25b/32.png) [@cvdlinden](https://forums.k8slens.dev/u/cvdlinden)
#### Post date: [June 10, 2024, 9:34am UTC](https://forums.k8slens.dev/t/text-based-backup-of-k0s-controller-for-version-control/3305/2 "2024-06-10T09:34:21Z")

</div>

Hello @rashid.tajdeen , thank you for reaching out to lens forums !

---

<div class="post-metadata">

### Author: ![jnummelin](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/j/c5a1d2/32.png) [@jnummelin](https://forums.k8slens.dev/u/jnummelin)
#### Post date: [June 10, 2024, 10:20am UTC](https://forums.k8slens.dev/t/text-based-backup-of-k0s-controller-for-version-control/3305/3 "2024-06-10T10:20:59Z")

</div>

@rashid.tajdeen What do you mean by text files exactly?

Currently the backup consists of many files, hence we create an archive for that. One of the the files in the archive is a backup of the etcd DB which if course is not really text.

---

<div class="post-metadata">

### Author: ![rashid.tajdeen](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/r/cdc98d/32.png) [@rashid.tajdeen](https://forums.k8slens.dev/u/rashid.tajdeen)
#### Post date: [June 12, 2024, 8:50am UTC](https://forums.k8slens.dev/t/text-based-backup-of-k0s-controller-for-version-control/3305/4 "2024-06-12T08:50:21Z")

</div>

Thank you for your reply, it helped us to make a decision and stick with the zip type backup
