forked from YunoHost-Apps/borg_ynh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_panel.toml
78 lines (63 loc) · 2.8 KB
/
config_panel.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version = "1.0"
[main]
services = []
[main.state]
name = ""
visible = "false"
[main.state.state]
type = "string"
[main.state.last_run]
type = "string"
[main.general]
[main.general.info]
ask = """\
Backup state : {{state}}
Last run: {{last_run}}
"""
type = "alert"
style = "info"
[main.general.repository]
ask.en = "Repository"
type = "string"
help = "Specify a local repository (`/mount/my_external_harddrive/backups`) or a remote repository (`ssh://[email protected]:PORT/~/backup`). If you plan to use a remote 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.general.ssh_public_key]
ask.en = "Public key: {ssh_public_key}"
type = "markdown"
bind = "/root/.ssh/id___APP___ed25519.pub"
[main.general.on_calendar]
ask.en = "When at at which frequency should the backups be performed?"
ask.fr = "Quand et à quelle fréquence les sauvegardes doivent-elles être effectuées ?"
type = "string"
help = "For example: `Monthly`, `Weekly`, `Daily` (=every day at midnight), `Hourly`, `Sat *-*-1..7 18:00:00` (=the first saturday of every month at 18:00), `4:00` (=every day at 4 AM), `5,17:00` (=every day at 5 AM and 5 PM). See the [systemd OnCalendar format for full syntax doc](https://wiki.archlinux.org/index.php/Systemd/Timers#Realtime_timer)"
bind = "OnCalendar:/etc/systemd/system/__APP__.timer"
[main.general.mailalert]
ask.en = "Mail alert"
type = "select"
choices.always = "Always"
choices.errors_only = "Only if an error occured"
choices.never = "Never alert me"
help = "Alerts are sent to the first user of this server"
[main.content]
name = "What should be backuped?"
optional = false
[main.content.conf]
ask.en = "Configuration"
type = "boolean"
[main.content.data]
ask.en = "Data"
type = "boolean"
[main.content.data_multimedia]
ask.en = "Data multimedia"
type = "boolean"
[main.content.apps]
ask.en = "Apps"
type = "tags"
help = "App list separated by comma. You can write 'all' to select all apps, even those installed after this borg app. You can also select all apps but some apps by writing 'exclude:' following by an app list separated by comma."
[list]
name = "Last backups list"
services = []
[list.list]
name = ""
[list.list.last_backups]
ask.en = ""
type = "markdown"