Automysqlbackup is a great tool. It's setup and configuration can be found at many other sites. When you try to run it out of the box, you will get something like this:

./ Command not found.

To run it in FreeBSD, you need to edit a single line. is a bash script, and it references the path '/bin/sh'. In freebsd, bash is installed at '/usr/local/bin/bash.' If you haven't already, install bash:

pkg_add -r bash

Then all you have to do is edit Look for

#!/bin/bash foo

and change it to


Now you should be able to launch it properly by running './'. creating a symlink would probably work, but i like this better.


comments powered by Disqus