I am using the exact code that 1and1 offers for backing up MySQL databases via mysqldump (http://faq.1and1.co.uk/archive/43.html)
$host= 'xxxx';
$user= 'xxxx';
$pass= 'xxxx';
$db= 'xxxx';
system(sprintf(
'mysqldump --opt -h%s -u%s -p%s %s | gzip > %s/backup/' . time() . '.sql.gz',
$host,
$user,
$pass,
$db,
getenv('DOCUMENT_ROOT')
));
Changed all permissions to 777 for testing purposes. Not lucky yet. Continuing to receive an error (errno 32 when writing).
Any help is appreciated - this seems like a silly fix.
source
share