diff --git a/scripts/restore b/scripts/restore index 4e303b2..0ded1d3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -5,5 +5,6 @@ app_path=/var/www/$app save_path=$1 sudo cp $save_path/config.php $app_path/ +sudo rm -rf $app_path/data sudo cp -R $save_path/data $app_path/ sudo chown -R www-data: $app_path/data