I am trying to take backup from a remote machine using innobackupex.
./innobackupex --host=<mysql_server> --user=<username> <backup_dir>.
Its failing as it is unable to locate a directory in the server.
(Errcode: 2 - No such file or directory)
I am assuming it is searching for the directory in the local machine. Please let me know how can we run the backup remotely ?