-
Notifications
You must be signed in to change notification settings - Fork 429
Backup
Nasir Khan Saikat edited this page Mar 24, 2023
·
1 revision
There is a Backup module available in the admin backend. You can create and deleted backups directly from the admin panel.
Along with the admin panel you may create backup using the following command.
php artisan backup:run
Options to delete a backup is available in the admin panel. You may also run the following command to and follow the cleanup rules.
php artisan backup:clean
If you only need to backup the db, run:
php artisan backup:run --only-db
If you only need to backup the files, and want to skip dumping the databases, run:
php artisan backup:run --only-db
We used the spatie/laravel-backup
package and to know more about this package please visit https://spatie.be/docs/laravel-backup/