vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Local backups without SSH keys

Open mYnDstrEAm opened this issue 1 year ago • 4 comments
trafficstars

The problem

Why is a SSH key required when just doing local backups?

The SSH key thing was the cause of most problems with Vorta (see here). Just allowing users who only do local backups to not set one up would be best. Do I need the SSH key and its passphrase if I tried to restore a backup on another system? I don't think so but maybe I misunderstood something.

Requested Solution

For local backups don't require a SSH key and include information that this is needed for remote backups on mouse-over. It would make the software much easier to use, more accessible, and cause less confusion and difficulty in its set-up.

Alternatives

Additional context

mYnDstrEAm avatar Jan 07 '24 20:01 mYnDstrEAm

Sure it's required? I regularly do local test repos without.

m3nu avatar Jan 08 '24 13:01 m3nu

Actually Vorta doesn't need to know about SSH keys, if you just keep it at Automatic. The option to generate one is really just to help newer users.

m3nu avatar Jan 08 '24 13:01 m3nu

The SSH Key is displayed by default and can't be toggled. That's already enough but in addition it only has the options "Automatically choose SSH key (default)" and "Create New Key". Even more problematic, it seemed like it had problems when trying to create a repo and I think I had to create a new key for that.

Best solution would be showing that only if a SSH remote repo is configured or at least only showing it when something like a "Use SSH key" checkbox is toggled. The easiest ad-hoc solution until that or something better would be showing a third option "Don't use SSH".

mYnDstrEAm avatar Jan 08 '24 15:01 mYnDstrEAm

Isn't the ssh key widget disabled (greyed out) for local repositories? If not that would be the way to go imo.

real-yfprojects avatar Feb 13 '24 10:02 real-yfprojects

Indeed it's greyed out now in version 0.8.10. Probably still used an earlier version until upgrading to Debian12.

mYnDstrEAm avatar Apr 19 '24 15:04 mYnDstrEAm