# Back up all server configuration files before upgrading the Managed cluster

**URL:** <https://community.dynatrace.com/t/back-up-all-server-configuration-files-before-upgrading-the-managed-cluster/35607>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, managed-cluster\
**Created:** [June 27, 2022, 8:51am UTC](https://community.dynatrace.com/t/back-up-all-server-configuration-files-before-upgrading-the-managed-cluster/35607 "2022-06-27T08:51:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanjo\_garcia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/juanjo_garcia/32/35378_2.png) [@juanjo\_garcia](https://community.dynatrace.com/u/juanjo_garcia)\
**Post date:** [June 27, 2022, 8:51am UTC](https://community.dynatrace.com/t/back-up-all-server-configuration-files-before-upgrading-the-managed-cluster/35607/1 "2022-06-27T08:51:20Z")

</div>

Hi all.

We need **ASAP** the ‘ **Dynatrace Cluster Upgrade** ’ procedure backs up all server configuration files to be modified.

This would guarantee that in case the ‘ **Dynatrace Cluster Upgrade Procedure** ’ modified some of the Configuration Files (or even it was created from scratch) and that the change didn´t work for us , We would be able to restore it.

Regards.

---

<div class="post-metadata">

**Author:** ![DynatraceWolf](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dynatracewolf/32/34627_2.png) [@DynatraceWolf](https://community.dynatrace.com/u/DynatraceWolf)\
**Post date:** [June 27, 2022, 9:06am UTC](https://community.dynatrace.com/t/back-up-all-server-configuration-files-before-upgrading-the-managed-cluster/35607/2 "2022-06-27T09:06:53Z")

</div>

Yes, by some reason and under some circunstances when upgrading, the Configuration Files, could be altered, and if you did not backup or maintain the configuration file on another server, could have a potencial risk to loose the configuration.

We have also experienced on the configuration of the oneagents, where the hostgroup, tenant token, etc parameters appear with no configuration.

So is a great idea, to also backup the config files and be able to restore.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [September 2, 2022, 8:21am UTC](https://community.dynatrace.com/t/back-up-all-server-configuration-files-before-upgrading-the-managed-cluster/35607/3 "2022-09-02T08:21:08Z")

</div>

Hey&nbsp;[@juanjo\_garcia](https://community.dynatrace.com/user/38107)

This has already existed since I remember. Just look at the&nbsp; **product binaries directory** &nbsp;(by default: /opt/dynatrace-managed/backup). There are all the config files backed up from before the previous upgrade.

Additionally, you should rather not modify configuration files but the corresponding custom.properties files that we ensure persistence through the upgrade.

---

<div class="post-metadata">

**Author:** ![juanjo\_garcia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/juanjo_garcia/32/35378_2.png) [@juanjo\_garcia](https://community.dynatrace.com/u/juanjo_garcia)\
**Post date:** [September 4, 2022, 9:29am UTC](https://community.dynatrace.com/t/back-up-all-server-configuration-files-before-upgrading-the-managed-cluster/35607/4 "2022-09-04T09:29:45Z")

</div>

Hi Radoslaw.

Indeed, you are totally right.

I´ve just seen that all **Dynatrace** Server configuration Files were backed up under&nbsp;the Directory:&nbsp; **/opt/dynatrace-managed/backup** when We carried out the last&nbsp;‘ **Dynatrace Cluster Upgrade** ’.

Thank you very much for your post.

Regards.
