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);
ibase_backup
(PHP 5)
ibase_backup — Initiates a backup task in the service manager and returns immediately
Description
mixed ibase_backup
( resource
$service_handle
, string $source_db
, string $dest_file
[, int $options = 0
[, bool $verbose = false
]] )Warning
This function is currently not documented; only its argument list is available.
Gara ¶
7 years ago
