Backing up open access database

G

Guest

I’m doing scheduled backups of an access database (which may be open) from
drive “C†to “D†using a batch file identifying an “xcopy†script. Can
anyone identify if I will corrupt the database in either drive if the
database is left open?

Thanks.
 
J

John Vinson

Can
anyone identify if I will corrupt the database in either drive if the
database is left open?

Yes, you almost certainly will corrupt the database.

You can do "hot backups" of SQL/Server or other client/server
databases. Access is not a client/server database but rather a
fileserver database; a backup of an open database will either simply
not run because the file is in use, or if it does, it is very likely
to leave the tables in an inconsistant state.

John W. Vinson[MVP]
 
B

Bill Mosca, MS Access MVP

Maybe I've just been lucky, but I've never had a problem when I copied an
open database. In fact, I use software called QuikSync that does an
automatic backup every hour whether the database is open or not, but that's
only on my development files.

If there is an action query running at the time you copy, you won't get the
data change. The old data will remain in the copy.
 
G

Guest

HI PERS
I am interesting about the script you write can you tell me exactly what you
have write in your batch file?
Thank you
Koulla
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top