db->hostname, $this->db->username, $this->db->password)) { $res = ibase_backup($service, $this->db->database, $filename . '.fbk'); // Close the service connection ibase_service_detach($service); return $res; } return false; } }