diff --git a/scripts/restore b/scripts/restore index 1669b414..96000b27 100644 --- a/scripts/restore +++ b/scripts/restore @@ -32,7 +32,7 @@ sudo cp -a ./yunohost/. /etc/yunohost/apps/$app/ # Restore sources & data sudo mkdir -p $final_path -sudo cp -a ./sources/* $final_path/ +sudo cp -a ./sources/. $final_path/ ynh_mysql_create_db $db_user $db_user $db_pwd mysql --debug-check -u $db_user -p$db_pwd $db_user < ./backupdb.sql