Utilizzando lo stesso script su di un server ottengo tutti i nomi dei db presenti ma gli unici di cui mi fa il backup sono quelli per cui ho l'accesso, quindi tutto bene. Il problema su aruba è che sembra che non esista neppure un Db a cui io ho accesso il che non è vero perchè il mio sito ci lavora normalmente. Ho provato invece della lista che prevede come avete giustamente detto 5 db, ad accedere ad uno solo con questo:
<?php


require_once("MySQL_DumpDB.cls.php");

/
// Set Content Type
header("Content-Type: text/plain");

// Connect to MySQL
mysql_connect("62.149.150.29", "miauser", "miapwd");

// Init Class
$dbdump = &new MySQL_DumpDB();


// Try to select db miodb
if ($dbdump->dump_database("midb")) {
//echo "Database 'miodb' added for DUMP\n";

// Set Header Comment
$dbdump->define_COMMENT("header", "# BACKUP DEL DATABASE MySQL\n");

// Export Dump
$dbdump->export_dump(TRUE);

// Get it
$dump = $dbdump->get_dump();

// Check for DUMP
if ($dump) {
// If all ok, Print it
echo "\n\n";
echo $dump;
} else {
// If something fail...
echo "Backup fallito!!!\n";
}
} else {
// If fail...say it
echo "Non sono riuscito a preparare il BACKUP!\n";
}

// Flush
flush();

// Close connection
mysql_close();

?>

risultato:



Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /web/htdocs/www.spotelefonici.it/home/flyform/php/backup.php on line 33



Warning: mysql_get_server_info(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /web/htdocs/www.spotelefonici.it/home/flyform/php/MySQL_DumpDB.cls.php on line 1053



Warning: mysql_get_server_info(): A link to the server could not be established in /web/htdocs/www.spotelefonici.it/home/flyform/php/MySQL_DumpDB.cls.php on line 1053



Warning: mysql_get_host_info(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /web/htdocs/www.spotelefonici.it/home/flyform/php/MySQL_DumpDB.cls.php on line 1054



Warning: mysql_get_host_info(): A link to the server could not be established in /web/htdocs/www.spotelefonici.it/home/flyform/php/MySQL_DumpDB.cls.php on line 1054



Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /web/htdocs/www.spotelefonici.it/home/flyform/php/MySQL_DumpDB.cls.php on line 62



Warning: mysql_query(): A link to the server could not be established in /web/htdocs/www.spotelefonici.it/home/flyform/php/MySQL_DumpDB.cls.php on line 62



Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.spotelefonici.it/home/flyform/php/MySQL_DumpDB.cls.php on line 65

Non sono riuscito a preparare il BACKUP!


Warning: mysql_close(): no MySQL-Link resource supplied in /web/htdocs/www.spotelefonici.it/home/flyform/php/backup.php on line 70

Sembra che siano errate miouser e miapwd ma sono quelle che uso per la connessione al db nel sito e funzionano perfettamente. Non so più cosa pensare.
La stessa cosa su altri server mi restituisca un perfetto backup