Sybase SQL Anywhere - Hacer respaldo incremental

 
Vista:

Hacer respaldo incremental

Publicado por Manuel Estevez  (1 intervención) el 24/11/2008 17:59:48
Con que comandos o programa puedo realizar un respaldo incremental de mi base de datos?

de antemano gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

Respuesta...

Publicado por Leopoldo Taylhardat (83 intervenciones) el 24/11/2008 20:49:24
Saludos desde Maracay, Venezuela.
Aunque puede haber cambiado algo con la versión te envío...

Comando general de Backup...
dbbackup -c "eng=sample_server;dbn=asademo;uid=dba;pwd=sql"

La primera vez se hace respaldo del DB y del log, luego...
Para hacerlo incremental despues en realidad solo se respalda el log...

Del Manual: Opciones -n -t

Change backup transaction log naming convention (-n) This option changes the naming convention of the backup transaction log file to yymmddxx.log, where xx is a number from 00 to 99 and yymmdd represents the current year, month and day. By default, the name used for the backup transaction log file is identical to the file name of the transaction log that is being backed up.
When using the -n option, you must also use the -r or -t options.

Back up the transaction log file only (-t ) This can be used as an incremental backup since the transaction log can be applied to the most recently backed up copy of the database file(s).

Espero que te sirva..
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar