diff --git a/conf/backup_method.j2 b/conf/backup_method.j2 index 71d9521..9445f7f 100644 --- a/conf/backup_method.j2 +++ b/conf/backup_method.j2 @@ -7,10 +7,11 @@ set -e ### RESTIC_SERVER=$(yunohost app setting restic server) RESTIC_SERVER_PORT=$(yunohost app setting restic port) +RESTIC_SERVER_USER=$(yunohost app setting restic ssh_user) RESTIC_PATH=$(yunohost app setting restic backup_path) RESTIC_PASSWORD="$(yunohost app setting restic passphrase)" -RESTIC_REPOSITORY_BASE=sftp://$RESTIC_SERVER:$RESTIC_SERVER_PORT/$RESTIC_PATH/ +RESTIC_REPOSITORY_BASE=sftp://$RESTIC_SERVER_USER@$RESTIC_SERVER:$RESTIC_SERVER_PORT/$RESTIC_PATH/ RESTIC_COMMAND=/usr/local/bin/restic LOGFILE=/var/log/restic_backup.log diff --git a/manifest.json b/manifest.json index dcbeab3..6fc49cb 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Backup your server with restic.", "fr": "Sauvegardez votre serveur avec restic." }, - "version": "0.10.0~ynh2", + "version": "0.10.0~ynh3", "url": "https://restic.net/", "license": "BSD-2-Clause", "maintainer": {