|
|
@ -121,7 +121,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app" |
|
|
#================================================= |
|
|
#================================================= |
|
|
ynh_script_progression --message="Restoring data directory..." --weight=2 |
|
|
ynh_script_progression --message="Restoring data directory..." --weight=2 |
|
|
|
|
|
|
|
|
datadir="/home/yunohost.app/$app/data" |
|
|
|
|
|
|
|
|
set_datadir |
|
|
|
|
|
|
|
|
# Use --not_mandatory for the data directory, because if the backup has been made with BACKUP_CORE_ONLY, there's no data into the backup. |
|
|
# Use --not_mandatory for the data directory, because if the backup has been made with BACKUP_CORE_ONLY, there's no data into the backup. |
|
|
ynh_restore_file --origin_path="$datadir" --not_mandatory |
|
|
ynh_restore_file --origin_path="$datadir" --not_mandatory |
|
|
|