Ver Mensaje Individual
  #4  
Antiguo 28-10-2006
Avatar de AGAG4
AGAG4 AGAG4 is offline
Miembro
 
Registrado: ago 2004
Ubicación: Los Mochis, Sinaloa, México
Posts: 1.420
Reputación: 21
AGAG4 Va por buen camino
Checa esto
Código:
Respaldos mediante Comando GBAK:
**Sintáxis:
  gbak -b -user SYSDBA -password masterkey "192.168.1.2:e:\base.gdb" "c:\copia\base.gbk"
  Comandos:
   -B(ACKUP_DATABASE)    backup database to file
   -BU(FFERS)            override page buffers default
   -C(REATE_DATABASE)    create database from backup file
   -CO(NVERT)            backup external files as tables
   -E(XPAND)             no data compression
   -FA(CTOR)             blocking factor
   -G(ARBAGE_COLLECT)    inhibit garbage collection
   -I(NACTIVE)           deactivate indexes during restore
   -IG(NORE)             ignore bad checksums
   -K(ILL)               restore without creating shadows
   -L(IMBO)              ignore transactions in limbo
   -M(ETA_DATA)          backup metadata only
   -MO(DE) <access>      "read_only" or "read_write" access
   -N(O_VALIDITY)        do not restore database validity conditions
   -NT                   Non-Transportable backup file format
   -O(NE_AT_A_TIME)      restore one table at a time
   -OL(D_DESCRIPTIONS)   save old style metadata descriptions
   -P(AGE_SIZE)          override default page size
   -PAS(SWORD)           Firebird password
   -R(EPLACE_DATABASE)   replace database from backup file
   -RO(LE)               Firebird SQL role
   -SE(RVICE)            use services manager
   -T(RANSPORTABLE)      transportable backup -- data in XDR format
   -USE_(ALL_SPACE)      do not reserve space for record versions
   -USER                 Firebird user name
   -V(ERIFY)             report each action taken
   -Y  <path>            redirect/suppress status message output
   -Z                    print version number
//Respaldar
gbak -b -v -t -user sysdba -password masterkey mibasedatos.gdb mibasedatos.gbk

//Restaurar
gbak -r -v -p 8192 -user sysdba -password masterkey mibasedatos.gbk mibasedatos.fdb
__________________
"Hemos aprendido a volar como los Pájaros, y a nadar como los Peces, y todavía No aprendemos a vivir como Hermanos". Martin Luther King

Última edición por AGAG4 fecha: 28-10-2006 a las 21:59:48.
Responder Con Cita