diff --git a/config/backup.php b/config/backup.php index 81b6752..20efb12 100644 --- a/config/backup.php +++ b/config/backup.php @@ -18,7 +18,8 @@ * The list of directories and files that will be included in the backup. */ 'include' => [ - base_path(), + storage_path(), + base_path('.env'), ], /* diff --git a/update-stufis.sh b/update-stufis.sh index d2e0027..318771c 100644 --- a/update-stufis.sh +++ b/update-stufis.sh @@ -12,6 +12,7 @@ cd "$(dirname "$0")" # puts StuFis in Maintenance Mode php artisan down +# does backup of files + db php artisan backup:run --disable-notifications php artisan backup:clean --disable-notifications @@ -37,5 +38,4 @@ php artisan migrate --force #php artisan view:cache #php artisan route:cache - php artisan up