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

Fix: Exclude rotated or compressed logs from backup #786

Closed
wants to merge 1 commit into from

Conversation

sven-ruess
Copy link
Contributor

General information

omd backup is excluding only current log files with --no-logs. It should exclude all existing log files.

Bug reports

omd backup is used on linux distros and appliance. It behaves on all platform the same way.
If you create a backup with omd backup --no-logs only current log file is excluded. Rotated or
compressed log files will be added to backup. Those files should also be excluded.

Proposed changes

Exclude from backups log files like

  • liveproxyd.log.1
  • liveproxyd.log.2.gz
  • liveproxyd.log.3.gz
  • dcd.log.1
  • dcd.log.2.gz
  • dcd.log.3.gz
  • ...

@mo-ki mo-ki added the tracked label Feb 6, 2025
@CheckmkCI CheckmkCI closed this in 04796dc Feb 10, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Feb 10, 2025
CheckmkCI pushed a commit that referenced this pull request Feb 10, 2025
CMK-21674
Squashes I1d7a920c41cb3e6afab04bed34abfd4b3eb301f6

closes: #786

Change-Id: Ie8df1e047b9a6ab37c0ff856bd55a1414f9dc524
CheckmkCI pushed a commit that referenced this pull request Feb 11, 2025
CMK-21674

closes: #786

Change-Id: Ie8df1e047b9a6ab37c0ff856bd55a1414f9dc524
@sven-ruess sven-ruess deleted the fix-omd-backup branch February 13, 2025 02:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants