Roman F
asked on
To backup Access database on regular basis
How to back up the MS Access database on the regular basis. let say evey day at 7 PM the database MYDB should be compacted and repaired and then backup in the folder I specified
Any experience? please
Any experience? please
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I don't think JetComp works on A2007/10. Also, using the Copy command, I think you get an error if the db is open.
I use the File System object to copy.
mx
I use the File System object to copy.
mx
>>I don't think JetComp works on A2007/10
The Access version wasn't specified. But it is good to know that it doesn't work with the 2007/2010 versions.
This utility only works up through A2007
http://www.vista-files.org/programs/datanumen-inc/advanced-access-repair.html
The Access version wasn't specified. But it is good to know that it doesn't work with the 2007/2010 versions.
This utility only works up through A2007
http://www.vista-files.org/programs/datanumen-inc/advanced-access-repair.html
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Actually, Compact on Close has several issues, and it only works on the db you are in. It does not C&R a linked backend db, which is likely the case here. And even if you have a shared frontend (not recommended) on a server connected to a common back end, C on C only works when the last user exists ... and Compacting and Repairing across a network is not recommended either.
In the utility that I referred to, I copy db's to the local workstation, run C&R, and then copy back up to the server.
mx
In the utility that I referred to, I copy db's to the local workstation, run C&R, and then copy back up to the server.
mx
"last user exists " >>> Last user exits ...
mx
mx
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Otherwise, if you don't ... this is not going to be a reliable backup approach. And I really don't think you have that flexibility with a dos batch file. My utility is 100% Access, with full error trapping and error logging as well as logging the results of backing up & Compact & Repairing (currently) 25 mdb's. Whereas the process is all point and (just a couple of) click(s), it is performed by a human. This approach has been very successful over the last 2.5 years.
"My recommendation is do not keep overwrtiing "
Totally agree. Add a Date/Time tag to the end of the mdb/acccdb name
MyCoolDb_20101112_1755.mdb
mx