(PHP 5)
ibase_backup — Initiates a backup task in the service manager and returns immediately
$service_handle
, string $source_db
, string $dest_file
[, int $options
= 0
[, bool $verbose
= false
]] )本函数还未编写文档,仅有参数列表。
Gara (2006-01-11 04:36:26)
I tried to get the backup function working, but could never figur out where to get the resource service_handle. The trick was to use ibase_service_attach.
$resource_service_handle = ibase_service_attach ('localhost', 'username', 'password');
ibase_backup($resource_service_handle, 'source_database', 'destination_file');
ibase_service_detach ($resource_service_handle);