mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
Rename snapshot -> backup (#2088)
* Rename snapshot -> backup * Update mariadb/CHANGELOG.md Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * Update deconz/CHANGELOG.md Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * Don't update version Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
"apparmor": false,
|
"apparmor": false,
|
||||||
"privileged": ["SYS_RAWIO"],
|
"privileged": ["SYS_RAWIO"],
|
||||||
"devices": ["/dev/mem"],
|
"devices": ["/dev/mem"],
|
||||||
"snapshot_exclude": ["*/otau"],
|
"backup_exclude": ["*/otau"],
|
||||||
"options": {
|
"options": {
|
||||||
"device": null
|
"device": null
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
"startup": "system",
|
"startup": "system",
|
||||||
"init": false,
|
"init": false,
|
||||||
"timeout": 20,
|
"timeout": 20,
|
||||||
"snapshot_pre": "/bin/s6-svc -wU -u /run/s6/services/mariadb-lock/",
|
"backup_pre": "/bin/s6-svc -wU -u /run/s6/services/mariadb-lock/",
|
||||||
"snapshot_post": "/bin/s6-svc -wd -d /run/s6/services/mariadb-lock/",
|
"backup_post": "/bin/s6-svc -wd -d /run/s6/services/mariadb-lock/",
|
||||||
"services": ["mysql:provide"],
|
"services": ["mysql:provide"],
|
||||||
"ports": {
|
"ports": {
|
||||||
"3306/tcp": null
|
"3306/tcp": null
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Start MariaDB client to lock tables (for snapshots)
|
# Start MariaDB client to lock tables (for backups)
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|
||||||
bashio::log.info "Lock tables using mariadb client..."
|
bashio::log.info "Lock tables using mariadb client..."
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ This addon exposes the following directories over smb (samba):
|
|||||||
Directory | Description
|
Directory | Description
|
||||||
-- | --
|
-- | --
|
||||||
`addons` | This is for your local add-ons.
|
`addons` | This is for your local add-ons.
|
||||||
`backup` | This is for your snapshots.
|
`backup` | This is for your backups.
|
||||||
`config` | This is for your Home Assistant configuration.
|
`config` | This is for your Home Assistant configuration.
|
||||||
`media` | This is for local media files.
|
`media` | This is for local media files.
|
||||||
`share` | This is for your data that is shared between add-ons and Home Assistant.
|
`share` | This is for your data that is shared between add-ons and Home Assistant.
|
||||||
|
|||||||
Reference in New Issue
Block a user