Restore Firebird database with PHP -
i did backup
<?php $host = 'luis-pc/3051'; $file = 'c:\sge\banco.fdb'; $username = 'sysdba'; $password = 'masterkey'; $resource_service_handle = ibase_service_attach ($host,$username,$password); ibase_backup($resource_service_handle,$file,'c:\sge\bd.fbk'); ibase_service_detach ($resource_service_handle);
but restore didn't work
$resource_service_handle = ibase_service_attach ($host,$username,$password); ibase_restore($resource_service_handle, 'c:\sge\bd.fbk', 'c:\sge\abcde.fdb'); ibase_service_detach ($resource_service_handle);
there no error message
Comments
Post a Comment