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

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -