Best way to make local backup of odbc mysql tables (1 Viewer)

ellenr

Registered User.
Local time
Today, 17:59
Joined
Apr 15, 2011
Messages
400
I need to backup mysql tables on local computer, and how to recover from this backup if necessary. Thanks!
 
I need to backup mysql tables on local computer, and how to recover from this backup if necessary. Thanks!
"Backing up" server tables to a local file is fairly easy. You can just use an append query into a local Access database for each table.

However, this is not a backup to recover from! A real database backup must adhere to consistency as any other database transaction. With the above approach you would only get a consistent backup if you would backup all tables in a single transaction in repeatable read mode. This is probably not possible with linked ODBC tables in Access.

I would instead suggest, you rather use MySQL backup tools, which may also work on the local computer. The linked text also has lots of information on how to recover from the created backups.
 
"Backing up" server tables to a local file is fairly easy. You can just use an append query into a local Access database for each table.

However, this is not a backup to recover from! A real database backup must adhere to consistency as any other database transaction. With the above approach you would only get a consistent backup if you would backup all tables in a single transaction in repeatable read mode. This is probably not possible with linked ODBC tables in Access.

I would instead suggest, you rather use MySQL backup tools, which may also work on the local computer. The linked text also has lots of information on how to recover from the created backups.
Thank you! I will follow up using the MySql link.
 

Users who are viewing this thread

Back
Top Bottom