使用PHP还原Firebird数据库

时间:2017-04-07 11:28:35

标签: php firebird

我做了备份

<?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);

但恢复无效

$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);

没有错误消息

0 个答案:

没有答案