Results 1 to 5 of 5
  1. #1
    SteveSydney is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    May 2017
    Posts
    5

    Mirror Database

    I am creating a split access database that will be updated by multiple users.



    How can I mirror the updates to the back end databases, so that I have a copy that I can use if the laptop containing the main database fails?

    Or alternatively, how can I set up a hot backup, that will run every few minutes?

    Suggestions?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    A back up every few minutes, that sounds like a system hog. I always relied on the network server backups. Never had to restore a backup for the backend.

    If this laptop is business critical, you should be doing hard drive backups nightly already.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,927
    not clear what you mean.

    Normal setup is each user has a front end on their machine and shares the backend database on the network server.

    Assuming this is the case, explain 'back end databases' and 'the laptop containing the main database'

  4. #4
    SteveSydney is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    May 2017
    Posts
    5
    We will be using this access database to support a bring and buy at a war games convention. Over the course of the weekend we will sell more than five thousand items and then need to pay each of the over one hundred sellers their money.


    To run the system we have five lap tops. One of which will host the back end database.

    Obviously if that lap top fails we will have lost all of our data unless we can mirror it or back it up on a regular basis.

    I understand that to perform a normal backup, we need to close all of the front end applications, which would seriously disrupt the selling.

  5. #5
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,927
    on the laptop that is hosting the backend I would set up a task to run say every 10 minutes to copy the backend to another laptop. Users can carry on working. There is still a risk that the backup occurs whilst the backend is being updated, potentially resulting in a corrupted backup (the back end itself will be OK). So suggest the routine also compacts the backup after copying to verify and if it fails, repeats the copy and compact.

    You can also have this code create a text file to indicate a successful backup or not which can be checked by the users front end (perhaps each time they create a new order or when they return to the main menu, depends how your app works) and display a warning message if necessary so your admin person can go check on the situation.

    Also suggest each backup should have its own name so you can go back to an earlier one if required - to save space perhaps after 10 backups replace backup 1 rather than a new backup 11.

    Routine can be written in another access file that just contains the code to do the copy and verify then close. the timer event then can just open this file and an autoexec macro can then run the code.

    Note access is at risk of corruption if running across a wireless network if there is a glitch in the connection. So better to hardwire the laptops together.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 05-06-2015, 08:44 AM
  2. Replies: 1
    Last Post: 03-21-2015, 11:55 AM
  3. Replies: 1
    Last Post: 02-21-2014, 04:23 AM
  4. Replies: 3
    Last Post: 11-08-2013, 10:43 AM
  5. How to Mirror Access in MySQL???
    By s3rvant in forum Database Design
    Replies: 0
    Last Post: 07-28-2009, 08:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums