Results 1 to 40 of 52

Thread: [RESOLVED] DB Backup and Restore

Threaded View

  1. #1

    Thread Starter
    PowerPoster Simply Me's Avatar
    Join Date
    Aug 2003
    Posts
    2,748

    Resolved [RESOLVED] DB Backup and Restore

    I have come accross of this Thread post #5. It was posted 2004 but it is very helpful and I am going to add this code to my app. Cudos to RhinoBull.

    I have some question though. I have been reading alot from the thread that before backing up the Database is should be closed. Im sorry, I have to ask this question. Is it not I have to put a button on a form and on click the button it will back-up the DB. If so then, the DB is open because the program is running. How can I back-up then?

    Also I want to check whether a file already exist or not and want to auto back-up the DB say before the beginning of each month (should detectwhether at the time of the scheduled back-up there is no work (ex: Holiday, Saturday or Sunday) so the back-up will not take place).

    Any solution for this?
    Last edited by Simply Me; May 14th, 2006 at 04:25 AM.
    To give is always to be NOBLE...
    To received is always to be BLESSED....
    Each day strive to be NOBLE
    Each day strive to be BLESSED

    If this post has helped you. Please take time to rate it.

    >=|+|=< Simply Me >=|+|=<

    ----------------------------------------
    Connection Strings | Number Only in Textbox | Splash Screen with Progress Bar | Printing to 1/2 of perforated bond paper |
    Freeze 2005 DataGridView Column

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width