1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00
This commit is contained in:
ewilly 2019-11-18 10:27:49 +01:00
parent cface75870
commit 17f9b951dd
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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"