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

Auto-Updater for Windows #539

Open
ncavallini opened this issue Nov 5, 2024 · 2 comments
Open

Auto-Updater for Windows #539

ncavallini opened this issue Nov 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ncavallini
Copy link

ncavallini commented Nov 5, 2024

Is your feature request related to a problem? Please describe.
Backrest releases come out pretty often. I've installed it on many computers and it's quite hard to keep track of which version is installed where.

Describe the solution you'd like
It'd be nice to have an auto-updater component for the Windows version (letting the user choose if automatic installation can be done or just notify of the update).

Additional context
Could implement it pretty easily just by periodically querying the GitHub API. The hard(er) part is to determine the currently installed version.

@ncavallini ncavallini added the enhancement New feature or request label Nov 5, 2024
@brokoler
Copy link

brokoler commented Nov 15, 2024

Hi,

for Windows the most easy way would be to add restback to Winget, it acts similar to Linux package managers.
In that case no additional software has to be programmed for auto updating, also Winget is preinstalled since Windows 10 and auto-updating is possible via task scheduler. That would not only make updating easier, but also the installation process:

Installation of Backrest via Winget
winget install backrest

Update of Backrest via Winget:
winget update backrest

@garethgeorge
Microsoft describes the steps required to publish software to Winget, probably it's possible for you to check the guidelines?
https://learn.microsoft.com/en-us/windows/package-manager/package/?WT.mc_id=modinfra-30991-salean
Also thanks for your great software, it makes Restic finally usable for me!

Edit:
rclone is also part of Winget and doesn't provide an updater software on it's own:
grafik

@ncavallini
Copy link
Author

Great idea, didn't think of that. Btw, is it possible to mantain the config (now I'm running the version download from the Releases here on GitHub)?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants