YunoHost-Apps / restic_ynh

Restic package for YunoHost
https://restic.net/
GNU Affero General Public License v3.0
6 stars 9 forks source link

Add support for other destination types #23

Open kytta opened 1 month ago

kytta commented 1 month ago

Since you're building the repository URL from "blocks" (hostname, port, user, path), and hard-code SFTP in the process, it is impossible to use other destination types, like S3/Backblaze buckets, cloud providers, or rclone remotes.

Why don't we ask the user for RESTIC_REPOSITORY directly (expecting a URI)? We could then add a field for the needed environment variables, be it password or other setup parameters