# Metricbeat and Filebeat 7.2 enrollment problem

**URL:** <https://discuss.elastic.co/t/metricbeat-and-filebeat-7-2-enrollment-problem/192643>\
**Category:** Beats\
**Tags:** fleet\
**Created:** [July 29, 2019, 8:25am UTC](https://discuss.elastic.co/t/metricbeat-and-filebeat-7-2-enrollment-problem/192643 "2019-07-29T08:25:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitzan.karni](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@nitzan.karni](https://discuss.elastic.co/u/nitzan.karni)\
**Post date:** [July 29, 2019, 8:25am UTC](https://discuss.elastic.co/t/metricbeat-and-filebeat-7-2-enrollment-problem/192643/1 "2019-07-29T08:25:12Z")

</div>

Firstly the main problem caused me to try and upgrade my beats:  
Recently upgraded the elastic stack to 7.2, this caused the metricbeat and filebeat (Windows version 7.0.0) to stop sending data to the elastic.  
I decieded to try and upgrade the beats to 7.2 the problem is when I try to enroll these beats I tried both options for enrollment  
1.

```auto
metricbeat.exe enroll https://kibanahost:5601 XXXXXXXXXXX --path.data "C:\ProgramData\metricbeat"

```

1. 

```auto
metricbeat.exe enroll https://kibanahost:5601 --username "myuser" --password env:PASS --path.data "C:\ProgramData\metricbeat" --force

```

for both options I keep on getting:  
`Saving a copy of current settings to metricbeat.yml.2019-07-29T10:53:51 +03:00.bak Error while enrolling: creating a backup copy of current settings: rename metricbeat.yml metricbeat.yml.2019-07-29T10:53:51 +03:00.bak: The filename, directory name, or volume label syntax is incorrect.`

Shouldn't be a backward compitability to beats in 7th version?  
Why these error occurring?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 4, 2022, 7:18am UTC](https://discuss.elastic.co/t/metricbeat-and-filebeat-7-2-enrollment-problem/192643/2 "2022-11-04T07:18:54Z")

</div>


