Ver Mensaje Individual
  #4  
Antiguo 07-07-2013
Avatar de ginkaku
ginkaku ginkaku is offline
Miembro
NULL
 
Registrado: nov 2012
Posts: 59
Reputación: 12
ginkaku Va por buen camino
añadiendo un poco

Lo que te sugieren es totalmente correcto. Como sugerencia create un procedimiento almacenado que haga esa sentencia algo asi:
Código SQL [-]
CREATE PROCEDURE BACKUP_BASE
AS 
BEGIN        
    BACKUP DATABASE VIVA
    TO DISK = 'D:\COPIA DE SEGURIDAD\VIVA.Bak'
    WITH FORMAT,
      MEDIANAME = 'SQLServerBackups',
      NAME = 'Full Backup of VIVA';
END;
Y posteriormente desde Delphi llama al procedimiento almacenado desde un boton y listo.
Responder Con Cita