“Cadangan Laravel” Kode Jawaban

Cadangan Laravel

composer require spatie/laravel-backup
//To publish the config file to config/backup.php
php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider"
//Once installed run 
php artisan backup:run
//clean up your backups
php artisan backup:clean
//Determining which backups should be deleted is mention in config/backup.php
Attractive Ape

database dan file cadangan laravel

composer require spatie/laravel-backup
Tyagi420

database dan file cadangan laravel

// app/Console/Kernel.php

protected function schedule(Schedule $schedule)
{
   $schedule->command('backup:clean')->daily()->at('01:00');
   $schedule->command('backup:run')->daily()->at('01:30');
}
Shoaib Leghari

database dan file cadangan laravel

php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider"
Shoaib Leghari

Jawaban yang mirip dengan “Cadangan Laravel”

Pertanyaan yang mirip dengan “Cadangan Laravel”

Lebih banyak jawaban terkait untuk “Cadangan Laravel” di PHP

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya