firebird - How ibase_restore working with php? -
i'm trying restore firebird database using ibase_restore, , nothing. found no documentation on internet. need help!
this code used, gbak command console have restored perfectly.
$servidor = 'localhost'; $usuario = 'sysdba'; $password = '*******'; if (($service = ibase_service_attach($servidor, $usuario, $password)) !== false) { $result = ibase_restore($service, '/folder/backup.fbk', $servidor.':/folder/restore.fdb'); var_dump($result); ibase_service_detach($service); }
Comments
Post a Comment