Skip to content

Commit

Permalink
only backup the important stuff, not the code
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-staab committed Apr 20, 2024
1 parent 9451577 commit ecfe8ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
],

/*
Expand Down
2 changes: 1 addition & 1 deletion update-stufis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -37,5 +38,4 @@ php artisan migrate --force
#php artisan view:cache
#php artisan route:cache


php artisan up

0 comments on commit ecfe8ec

Please sign in to comment.