mirror of
https://github.com/YunoHost-Apps/bozon_ynh.git
synced 2024-09-03 18:16:09 +02:00
Update
This commit is contained in:
parent
47384bab9f
commit
32a3aa598d
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# to test the functionnality :
|
||||
# yunohost backup create -n "bozon-test" --ignore-system --apps bozon
|
||||
# yunohost backup create -n "bozon-test" --apps bozon
|
||||
# yunohost backup delete bozon-test
|
||||
|
||||
set -eu
|
||||
|
|
|
@ -26,7 +26,7 @@ data_path="/home/yunohost.app/$app"
|
|||
if [ $(yunohost app list -i -f "$app" | wc -l) -gt 1 ]; then
|
||||
ynh_app_setting_set "$app" backup_core_only 0
|
||||
app_bck=${app//_/-}
|
||||
yunohost backup create --ignore-system --apps "$app" --name "${app_bck}_$(date '+%Y%m%d-%H%M%S')"
|
||||
yunohost backup create --apps "$app" --name "${app_bck}_$(date '+%Y%m%d-%H%M%S')"
|
||||
echo "BoZon fully backuped." >&2
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# to test the functionnality :
|
||||
# yunohost backup create -n "bozon-test" --ignore-system --apps bozon
|
||||
# yunohost backup create -n "bozon-test" --apps bozon
|
||||
# yunohost app remove bozon
|
||||
# yunohost backup restore "bozon-test"
|
||||
|
||||
|
|
Loading…
Reference in a new issue