B
bicyclops
I've read alot of the posts about backup. Many mention FileCopy or a batch
file; and that this is safe 99% of the time. But it would be good to have
100%. The Tools-Backup Database feature is great because it ensures that no
users have the db open first; otherwise it doesn't do the bakcup. I've had
poor success trying to automatic this. The process usually (but not always)
gets stuck when the dialog asks for a filename.
I also have a process for shutting down all FE users that works MOST of the
time, except when someone leaves a prompt or dialog on their screen. So I can
never guarantee it will work. So imagine this scenario:
1. Shutdown routine starts but fails because user left db open with dialog
on screen.
2. FileCopy copies BE database to another location, but this may not be a
valid file because FE instances were open.
3. Compact routine runs and results in lost data because of prior corruption.
4. Both original AND backup copies are now unusable.
To avoid this scenario, there must be a way to at least verify that the
database is open exclusively, otherwise the whole process should not execute.
There most be a way to check for this . . .
Thanks in advance.
file; and that this is safe 99% of the time. But it would be good to have
100%. The Tools-Backup Database feature is great because it ensures that no
users have the db open first; otherwise it doesn't do the bakcup. I've had
poor success trying to automatic this. The process usually (but not always)
gets stuck when the dialog asks for a filename.
I also have a process for shutting down all FE users that works MOST of the
time, except when someone leaves a prompt or dialog on their screen. So I can
never guarantee it will work. So imagine this scenario:
1. Shutdown routine starts but fails because user left db open with dialog
on screen.
2. FileCopy copies BE database to another location, but this may not be a
valid file because FE instances were open.
3. Compact routine runs and results in lost data because of prior corruption.
4. Both original AND backup copies are now unusable.
To avoid this scenario, there must be a way to at least verify that the
database is open exclusively, otherwise the whole process should not execute.
There most be a way to check for this . . .
Thanks in advance.