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

--dry-run would be useful for 'borg compact' #8300

Open
yrro opened this issue Jul 22, 2024 · 1 comment
Open

--dry-run would be useful for 'borg compact' #8300

yrro opened this issue Jul 22, 2024 · 1 comment
Milestone

Comments

@yrro
Copy link

yrro commented Jul 22, 2024

Have you checked borgbackup docs, FAQ, and open GitHub issues?

Yes

Is this a BUG / ISSUE report or a QUESTION?

Feature request

Describe the problem you're observing.

--dry-run isn't available for borg compact.

My wrapper script has to handle this by skipping the execution of borg compact when in dry run mode, rather than adding --dry-run to the borg command line. No big deal, but it would be nice if this option was present for compact as it is with create/prune.

@ThomasWaldmann
Copy link
Member

Interesting idea for making scripting a bit easier.

I have to check whether a borg compact --dry-run can be doing anything useful (like e.g. saying how much it would compact/free) with actually doing it.

@ThomasWaldmann ThomasWaldmann added this to the 1.4.1 milestone Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants