Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/274.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
用PHP恢复Firebird数据库_Php_Firebird - Fatal编程技术网

用PHP恢复Firebird数据库

用PHP恢复Firebird数据库,php,firebird,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:\sg

我做了备份

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

没有错误消息

可能重复的。@renéhoffmann-它不工作。@renéhoffmann-它不工作。@renéhoffmann-它不工作
$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);