Soonhuat, If you are using Firebird in your application then you must be using some form of database connector like Fib+, IBO or a home rolled. Fib+ and IBO come with components that let you run backups and restores with direct calls to the Firebird API.
The only time I would consider using a bat file for backup is with cron jobs. Why am I so reticent? Because SysDba password in clear text is needed for backup. In my applications I use the API and store in registry (or some where accessable) SysDba password encrypted. To hold this value I depend on Computer or NOS security. APIs are easier to use in your program. Mick -----Original Message----- From: delphi-en@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of soonhuat ong Sent: Tuesday, July 26, 2005 3:24 AM To: delphi-en@yahoogroups.com Subject: [delphi-en] Backup and Restore Hi all, I want to perform "backup and restore" function in my application after button click, any idea where should i start ? and how to do this. For your information, i'm using Firebird. Thanks in advance. ____________________________________________________ Do you Yahoo!? Yahoo! Photos: Now with unlimited storage http://au.photos.yahoo.com ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/