produce a backup.zip like in the old version if Snipe-it
Page says:
" Success: A new backup file was successfully created."
"Backup files are located in: /var/www/snipeit/storage/app/backups"
there is no backup in this location.
If I follow http://snipe-it.readthedocs.io/en/latest/manual/backups/#automated-backups
and run:
sudo /usr/bin/php /var/www/snipeit/artisan snipeit:backup
I get:
Starting backup...
Dumping database snipeit...
Backup failed because The dump process failed with exitcode 127 : Command not found : sh: 1: /usr/local/bin/mysqldump: not found
.
Backup completed!
I'm getting the following in storage/logs/laravel.log:
[2016-08-25 09:07:49] production.ERROR: backups backups : error: Failed to backup because: The dump process failed with exitcode 127 : Command not found : sh: 1: /usr/local/bin/mysqldump: not found
I find this odd because mysqldump IS in my path.
Thanks
Did you try specifically setting the DB_DUMP_PATH?
https://snipe-it.readme.io/docs/configuration#required-database-settings
Thanks for you help I just ended up symlinking /usr/bin/mysqldump to /usr/local/bin/.
fixed it.
I know, gross eh?

Well, the DB_DUMP_PATH should fix your issue, should you choose to be less gross. :P
This made my day :)
I would think
http://snipe-it.readthedocs.io/en/latest/manual/backups/
needs to be updated though? I'd be glad to help you with your project, snipe-it is fantastic.
I have it now set up so that cron will take a backup every night at 7:45 PM and copy it to our fileserver where everything get's backed up to tape.
I have no idea where you even found that documentation. It hasn't been active or accurate in years. :(
Google found it for me. I couldn't find the document by browsing from the main documentation page
https://snipe-it-manual.readme.io/docs/
Yeah, that's because that page is deprecated lol. All alerts/backups/etc use Laravel's scheduler now:
https://snipe-it.readme.io/docs/configuring-alerts
(It's badly named, since it covers backups too)
Thanks for the heads up - I've deleted the docs at readthedocs to prevent any additional confusion. I didn't realize those were even still available. :-/

Many thanks! I'm grateful for your wonderful project! We're replacing our crusty old assetmanage software in my organization with Snipe-it. We're pretty much sold on it here.
