Before using the backup and import scripts on Mac OSX based systems a mysql.sock symbolic link needs to be created using the following commands.
This will ensure that the backup script is able to speak with the correct mysql.sock executable.
Even thought the mysql.sock file does not appear in finder it is indeed there when running AMPPS MySQL server.
$ mkdir /var/mysql
$ sudo ln -s /Applications/AMPPS/mysql/tmp/mysql.sock /var/mysql/mysql.sock
It is possible to verify the existence of mysql.sock by issuing the following commands in Terminal.
$ cd /Applications/AMPPS/mysql/tmp/
$ ls -al