Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CM] Add timestamp to backup file #10031

Closed
ycombinator opened this issue Jan 11, 2019 · 1 comment · Fixed by #11034
Closed

[CM] Add timestamp to backup file #10031

ycombinator opened this issue Jan 11, 2019 · 1 comment · Fixed by #11034

Comments

@ycombinator
Copy link
Contributor

Consider the following scenario:

  1. User enrolls a filebeat instance. The user's filebeat.yml gets backed up as filebeat.yml.bak.
  2. User un-enrolls the instance.
  3. User makes changes to their filebeat.yml.
  4. User re-enrolls the instance. The user's filebeat.yml gets backed up as filebeat.yml.bak, overwriting their previous filebeat.yml.bak.

If the user wants to peruse the contents of their original filebeat.yml, they cannot do that any more.

Perhaps we should add a timestamp portion somewhere in the .bak filename?

@ph
Copy link
Contributor

ph commented Mar 1, 2019

I will add this, I think that will help since we are still in the beta state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants