• Backup backend safely (2000, 2003)

    Author
    Topic
    #455073

    Hi all,

    What methods can be used to backup a backend database which is in use?
    Can I just copy the data.mdb file safely?

    Viewing 0 reply threads
    Author
    Replies
    • #1131442

      I’ve found that you can usually copy a database that is in use without problems in Windows Explorer, but you have to be careful: if data are being written to the database while you copy it, the copy may be corrupt.

      • #1131445

        Hmm. In this case ending up with a “valid” copy is important;

        We want to have a fall-back database on a different server to go to when the production server dies on us.

        • #1131449

          What about a scheduled task to backup the database at intervals? You could also program the database to copy the backend, say, as soon as it’s opened?

          • #1131469

            Sure, but I want to know what a secure method is to do the actual copying. I’ve read that copying a database file which is being used may cause the copy to be corrupt. That is something I need to avoid.

            • #1131480

              Hmm…well, without kicking all the users off and then manually doing the backup, the next thing I could think of would be (with the scheduled task) using a BATch file to see if a database lockfile exists, and if one doesn’t exist in the backend’s directory, then executing the copy command.

            • #1131571

              Thanks. Typically my users would be “in” all day long.

    Viewing 0 reply threads
    Reply To: Backup backend safely (2000, 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: