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

Installer for most users #4

Open
dnnrly opened this issue Mar 28, 2020 · 7 comments
Open

Installer for most users #4

dnnrly opened this issue Mar 28, 2020 · 7 comments

Comments

@dnnrly
Copy link
Owner

dnnrly commented Mar 28, 2020

Is your feature request related to a problem? Please describe.
This tool aims to be super simple backup but at the moment there isn't a super simple way for you to install it on your system without running the Go tooling. This obviously excludes anyone that is non-technical or even just not a Go programmer.

Describe the solution you'd like
I'd like some way of installing this s3Backup using a single command or running a single executable.

Describe alternatives you've considered

  • Sub command to do the install
  • Platform specific packaging
  • New cmd

Additional context
This needs to be super simple for all users

@dnnrly dnnrly added the help wanted Extra attention is needed label Mar 28, 2020
@RajivSah
Copy link

Can i work on it?

@dnnrly
Copy link
Owner Author

dnnrly commented Sep 26, 2020

Of course, anyone can tackle these issues. Have you thought how you might implement it?

@RajivSah
Copy link

Maybe we can publish this as a go package or write an installer script to install this package. Whats you thought?

@dnnrly
Copy link
Owner Author

dnnrly commented Sep 26, 2020

It's already available as a package of you need it. It would be great if a user could download it and have it run automatically when starting their computer.

How do you think you would approach that?

@rluetzner
Copy link

Describe alternatives you've considered

  • Platform specific packaging

Can you explain why you dropped this idea? It sounds like the easiest solution to me. You could leverage GitHub workflows to build binaries for all the OSs you want to support and automatically attach the artifacts to a release. Users can then just download the correct binary from GitHub. You don't even need to have the OSs installed yourself because Go is able to cross-compile for other systems. That's how most or almost all Go projects do their releases.

@dnnrly
Copy link
Owner Author

dnnrly commented Dec 9, 2021

Apologies for the late response, this got lost in my emails! The constraints I'm thinking about for this issues are:

  1. configuring the system to schedule/trigger backups
  2. making it super easy for non-technical users to install
  3. not having to maintain multiple installers at the same time

Of course, if someone raises a PR that does this with platform specific solutions that is easy to maintain then I'm not going to be super picky about it.

@DBX12
Copy link

DBX12 commented Oct 23, 2022

This sounds interesting, but I'm not sure how you could achieve cross-platform scheduling. Debian (and probably other Linux systems) use cron for scheduling, MacOS probably as well, Windows has scheduled tasks. I think you could script editing the cron file on Linux and MacOS and probably even register a scheduled task with Windows. But maintaining this scheduled task (or cron entry) will be problematic for the non-technical user I suppose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants