You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is where you choose a different driver if you want your backups to be stored somewhere else (S3, Dropbox, Google Drive, Box, etc).
45
42
46
-
3)[optional] Modify your backup options in ```config/backup.php```, then run ```php artisan backup:run``` to make sure it's still working.
43
+
3)[optional] You can add backup flags for when the backup process is run from the user interface. In your `config/backup.php` under the `backup` key you can add the `backpack_flags` array below:
44
+
45
+
```php
46
+
'backup' => [
47
+
48
+
/* --------------------------------------
49
+
* Backpack\BackupManager Command Flags
50
+
* --------------------------------------
51
+
* These flags will be attached every time a backup is triggered
52
+
* by Backpack\BackupManager. By default only notifications are disabled.
4)[optional] Modify your backup options in ```config/backup.php``` (which is `spatie/laravel-backup`'s config file), then run ```php artisan backup:run``` to make sure it's still working.
47
69
48
-
4)[optional] Instruct Laravel to run the backups automatically in your console kernel:
70
+
5)[optional] Instruct Laravel to run the backups automatically in your console kernel:
49
71
50
72
```php
51
73
// app/Console/Kernel.php
@@ -57,7 +79,7 @@ protected function schedule(Schedule $schedule)
57
79
}
58
80
```
59
81
60
-
5) Check that it works
82
+
6) Check that it works
61
83
62
84
If the "unknown error" yellow bubble is thrown and you see the "_Backup failed because The dump process failed with exitcode 127 : Command not found._" error in the log file, either mysqldump / pg_dump is not installed or you need to specify its location.
0 commit comments