Ver Mensaje Individual
  #4  
Antiguo 02-11-2011
subzero subzero is offline
No confirmado
 
Registrado: ene 2004
Ubicación: Móntería - Córdoba - Colombia
Posts: 289
Reputación: 0
subzero Va por buen camino
bueno probe algo mas

Código PHP:
if (($service = ibase_service_attach(DB_SERVER, DB_USERNAME, DB_PASSWORD)) != FALSE) {
        
//retrieve server info
        
$server_info  = ibase_server_info($service, IBASE_SVC_SERVER_VERSION)
                      . 
' / '
                      
. ibase_server_info($service, IBASE_SVC_IMPLEMENTATION);
        
        
ibase_backup($service, DB_NAME, DB_SERVER.":".PATH_BK.SD."basededatos_.fbk") or die(ibase_errmsg());
        
        
//detach from server (disconnect)
        
ibase_service_detach($service);
    }
    else {
        
$ib_error = ibase_errmsg();
    }
    
    echo 
$server_info; 
Donde:

DB_NAME : localhost:/opt/lampp/htdocs/aplicacion/bd/basededatos.fdb
DB_USERNAME : SYSDBA
DB_PASSWORD : masterkey
PATH_BK : /opt/lampp/htdocs/aplicacion/bakups
DB_SERVER : localhost:/opt/lampp/htdocs/aplicacion/bakups/basededatos_.fbk

la cuestion es que no me genera error como tampoco crea el archivo de la copia de seguridad.

Agradezco la ayuda que me puedan brindar
Responder Con Cita