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

Add cleanup CLI #93

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Add cleanup CLI #93

merged 1 commit into from
Nov 12, 2024

Conversation

martialblog
Copy link
Member

@martialblog martialblog commented Oct 30, 2024

  • Adds a simple command to cleanup older backup files. Intention was to provide something users can use in a cronjob/timer.
# Removes all but one backups for all views
icingacli toplevelview
# Removes all but one backups for a specific view
icingacli toplevelview --view myview
# Removes all but two backups for a specific view
icingacli toplevelview --view myview --keep 2

Fixes #71

 - Adds a simple command to cleanup older backup files.
   Intention was to provide something users can use in a cronjob/timer.
@martialblog martialblog added this to the 1.0.0 milestone Oct 30, 2024
@martialblog martialblog self-assigned this Oct 30, 2024
@cla-bot cla-bot bot added the cla/signed label Oct 30, 2024
@martialblog martialblog merged commit 5531a2b into main Nov 12, 2024
5 checks passed
@martialblog martialblog deleted the feature/cleanup branch November 12, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a CLI Command to cleanup the View backups
1 participant