Hi everyone,
Hope someone can help me with this. I've checked the FAQs and done a web search but turned up nothing.
I have several databases on my web site which I would like be automatically backed up daily. I'm thinking along the lines of getting my index.asp to check if it is 24 hours since the last backup, and if it is, call the backup routine.
From what I've read, I could use the
and simply copy the MDB files into a backup directory. Sounds too easy to me! I've read a thread on the VB forum regarding backing up Access databases and it was mentioned more than once that there would be the possibility of corruption of the database if someone was using it while it was being copied.
SO: Can I use the copy method described above to perform the backup?
If not, can anyone suggest another way?
Also, if I were to go for the simply copy method, would it work if I made it conditional upon whether anyone was using the database, and if so, how would I determine this? I wouldn't necessarily check for specifically someone accessing the database, but anyone in general using the website at that particular moment.
TIA for any help,
Robin
Hope someone can help me with this. I've checked the FAQs and done a web search but turned up nothing.
I have several databases on my web site which I would like be automatically backed up daily. I'm thinking along the lines of getting my index.asp to check if it is 24 hours since the last backup, and if it is, call the backup routine.
From what I've read, I could use the
Code:
FileSystemObject
SO: Can I use the copy method described above to perform the backup?
If not, can anyone suggest another way?
Also, if I were to go for the simply copy method, would it work if I made it conditional upon whether anyone was using the database, and if so, how would I determine this? I wouldn't necessarily check for specifically someone accessing the database, but anyone in general using the website at that particular moment.
TIA for any help,
Robin