Open simplenotezy opened 8 years ago
+1
+1
Use my fork https://github.com/canfiax/laravel-db-backup
@canfiax it's not on composer repository is it?
Using forks in composer is insanely difficult. I find literaly megabytes of peoples' trial and error on SO. Could you please share a working incantation that I can just paste into composer.json?
Database backup failed. 'D:/wamp64/bin/mysqldump' is not recognized as an internal or external command, operable program or batch file.
return [
'path' => public_path() . '/backups/',
'mysql' => [
//'dump_command_path' => '/usr/bin/',
'dump_command_path' => 'D:\wamp64\bin',
'restore_command_path' => 'D:\wamp64\bin',
],
's3' => [
'path' => 'D:\wamp64\bin'
],
'compress' => true,
];
hengsoheak use double backslash or slashes:
'mysql' => [
//'dump_command_path' => '/usr/bin/',
'dump_command_path' => 'D:\\wamp64\\bin\\',
'restore_command_path' => 'D:\\wamp64\\bin\\',
],
Does that work?
Im getting following error, on Laravel 5.2
Problem 1