Command Line for Backup

L

Leo

I am trying to schedule regular compacts and backups for a database on our
server through Windows task scheduler. I got the compact to work, but am
having issues with the back-up. Here is the successful compact target:

"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
"\\Callctrsrv\AuidtorHomeV1_1_be.mdb"/Compact

What command would I insert for backup?
 
C

Chris O'C via AccessMonster.com

(All one line:)

copy \\Callctrsrv\AuidtorHomeV1_1_be.mdb \\backupfolder\AuidtorHomeV1_1_be.
mdb


Chris
Microsoft MVP
 
L

Linq Adams via AccessMonster.com

I only ask this because you said "I am trying to schedule regular compacts
and backups." in that order. You are planing on doing a backup ***then*** the
compact, correct?
 
C

Chris O'C via AccessMonster.com

Good point!

Chris
Microsoft MVP


Linq said:
I only ask this because you said "I am trying to schedule regular compacts
and backups." in that order. You are planing on doing a backup ***then*** the
compact, correct?
 
L

Leo

You are correct. The grammar in posting was slightly confusing, but I
obviously want to back the BE data up before I campact it.

I have been tied up since I posted this, but plan to test it tonight.
 

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