Subject | Re: [Firebird-Architect] Re: Create database -> rats' nest |
---|---|
Author | Dmitry Yemanov |
Post date | 2005-04-26T20:14:38Z |
"Jim Starkey" <jas@...> wrote:
PATH VARCHAR(255)
)
AS
BEGIN
EXECUTE STATEMENT 'BACKUP DATABASE TO ' || :PATH;
END
And feel free to schedule it automatically ;-)
Dmitry
>CREATE PROCEDURE BACKUP_DATABASE(
> I think this approach has great merit. Defining backup as an external
> procedure would also allow it to be scheduled automatically if/when we
> build in an event scheduler.
PATH VARCHAR(255)
)
AS
BEGIN
EXECUTE STATEMENT 'BACKUP DATABASE TO ' || :PATH;
END
And feel free to schedule it automatically ;-)
Dmitry