I am trying to set up an automatic MySQL database backup, but for starters I can’t even get the mysqldump command to work.
When I run the following command:
mysqldump --user usernamehere --password=passwordhere databasehere | gzip > /httpdocs/mydatabase.gz
I get the following message:
-sh: /httpdocs/mydatabase.gz: No such file or directory
mysqldump: Got errno 32 on write
I can provide more info if necessary. Any ideas?