-
-
Notifications
You must be signed in to change notification settings - Fork 70
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 support for long-running restic commands #505
Comments
Backrest definitely works for me without opening the browser, so the main point that it |
@SerVB I think you misunderstood. This is regarding the "Run Command" feature in the web UI. Not about executing backrest itself. |
Right — thanks for making an issue to track this. It’s definitely in my plans to make command executions into entries in the operation history. I expect to get to this sometime in the next month. |
Implemented in #516 |
@garethgeorge That was super quick, thank you so much! <3 |
Just remembered I never created a feature request for this. At last, here it is. :)
Is your feature request related to a problem? Please describe.
Backrest currently runs custom commands in the foreground/browser and cancels the execution when the browser is closed or the connection interrupts. It's therefore unsuitable to run commands that may take a long time. For example, I'd like to run prune with extra flags which is going to take quite some time.
Describe the solution you'd like
The commands should be sent to the background. A new entry both in the Tree View and Operation List of the repository should appear, with a visual indication of the command's status. (running/ended/failed)
As a user I should also be able to view the output of the command.
Or, as Gareth put it:
Discussed in #482
Originally posted by oliver-la September 19, 2024
The web ui currently allows to run a custom restic command, with the caveat that it's only intended for commands that complete in a short time.
I'd like to run a prune with a couple extra flags. Since it will take a long time, I probably(?) can't do it via the Web UI.
The text was updated successfully, but these errors were encountered: