mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
Merge branch 'testing'
This commit is contained in:
commit
cb843696b7
4 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Restic for YunoHost
|
# Restic for YunoHost
|
||||||
|
|
||||||
[](https://github.com/YunoHost-Apps/restic_ynh/releases)
|
[](https://github.com/YunoHost-Apps/restic_ynh/releases)
|
||||||
[](https://github.com/YunoHost-Apps/restic_ynh/milestones)
|
[](https://github.com/YunoHost-Apps/restic_ynh/milestones)
|
||||||
[](https://dash.yunohost.org/appci/app/restic)
|
[](https://dash.yunohost.org/appci/app/restic)
|
||||||
[](https://raw.githubusercontent.com/YunoHost-Apps/restic_ynh/master/LICENSE)
|
[](https://raw.githubusercontent.com/YunoHost-Apps/restic_ynh/master/LICENSE)
|
||||||
|
|
|
@ -4,10 +4,11 @@ set -e
|
||||||
|
|
||||||
RESTIC_SERVER=$(yunohost app setting restic server)
|
RESTIC_SERVER=$(yunohost app setting restic server)
|
||||||
RESTIC_SERVER_PORT=$(yunohost app setting restic port)
|
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_PATH=$(yunohost app setting restic backup_path)
|
||||||
|
|
||||||
RESTIC_PASSWORD="$(yunohost app setting restic passphrase)"
|
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
|
RESTIC_COMMAND=/usr/local/bin/restic
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Backup your server with restic.",
|
"en": "Backup your server with restic.",
|
||||||
"fr": "Sauvegardez votre serveur avec restic."
|
"fr": "Sauvegardez votre serveur avec restic."
|
||||||
},
|
},
|
||||||
"version": "0.10.0~ynh4",
|
"version": "0.12.0~ynh1",
|
||||||
"url": "https://restic.net/",
|
"url": "https://restic.net/",
|
||||||
"license": "BSD-2-Clause",
|
"license": "BSD-2-Clause",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
# App package root directory should be the parent folder
|
# App package root directory should be the parent folder
|
||||||
PKG_DIR=$(cd ../; pwd)
|
PKG_DIR=$(cd ../; pwd)
|
||||||
RESTIC_VERSION="0.10.0"
|
RESTIC_VERSION="0.12.0"
|
||||||
|
|
||||||
# Install restic if restic is not here
|
# Install restic if restic is not here
|
||||||
install_restic () {
|
install_restic () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue