larkinwhitaker / laravel-db-backup

Laravel 5 Package for easily backing up and restoring databases with command line tools.
http://keystrokecreative.com/
15 stars 17 forks source link

dev-master requires illuminate/support 5.0.* | 5.1.* -> satisfiable by laravel/framework[v5.1.24, 5.0.x-dev, 5.1.x-dev] #3

Open simplenotezy opened 8 years ago

simplenotezy commented 8 years ago

Im getting following error, on Laravel 5.2

Problem 1

UnrulyNatives commented 8 years ago

+1

rulatir commented 8 years ago

+1

simplenotezy commented 8 years ago

Use my fork https://github.com/canfiax/laravel-db-backup

rulatir commented 8 years ago

@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?

hengsoheak commented 7 years ago

Database backup failed. 'D:/wamp64/bin/mysqldump' is not recognized as an internal or external command, operable program or batch file.

hengsoheak commented 7 years ago

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,

];

UnderDogg commented 7 years ago

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?