1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borg_ynh.git synced 2024-09-03 18:16:05 +02:00

[enh] Config panel to change repo address

This commit is contained in:
ljf 2021-11-30 14:00:36 +01:00
parent ef97208252
commit d8a95811e2
2 changed files with 12 additions and 14 deletions

View file

@ -7,33 +7,31 @@ services = []
name = ""
visible = "false"
[main.settings.repository]
type = "string"
[main.settings.ssh_public_key]
type = "text"
visible = "false"
bind = "/root/.ssh/id___APP___ed25519.pub"
[main.settings.state]
type = "string"
visible = "false"
[main.settings.last_run]
type = "string"
visible = "false"
[main.general]
[main.general.info]
ask = """\
Repository : `{repository}`\
SSH public key : `{ssh_public_key}`\
Backup state : {state}
Last run: {last_run}
"""
type = "alert"
style = "info"
[main.settings.repository]
ask.en = "Repository"
type = "string"
help = "Specify a local repository like /mount/my_external_harddrive/backups or a remote repository using this format: ssh://USER@DOMAIN.TLD:PORT/~/backup . If you plan to use borgserver_ynh app : 'USER' is *not* meant to be an existing user on the guest server, instead, it will be created *on the host server* during the installation of the Borg Server App. With borgserver_ynh apps you can't specify another repo path than ~/backup."
[main.settings.ssh_public_key]
ask.en = "Public key: {ssh_public_key}"
type = "display_text"
bind = "/root/.ssh/id___APP___ed25519.pub"
[main.general.on_calendar]
ask.en = "Frequency"
type = "string"

View file

@ -6,7 +6,7 @@
"en": "Backup your server on a host server using Borg.",
"fr": "Sauvegardez votre serveur sur un serveur distant avec Borg."
},
"version": "1.1.16~ynh24",
"version": "1.1.16~ynh25",
"url": "https://borgbackup.readthedocs.io",
"license": "BSD-3-Clause",
"maintainer": {
@ -15,7 +15,7 @@
"url": "https://reflexlibre.net"
},
"requirements": {
"yunohost": ">= 4.1.0"
"yunohost": ">= 4.3.0"
},
"multi_instance": true,
"services": [],