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

Open
wants to merge 1 commit into
base: master
Choose a base branch
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants