![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
I now plan to alter the process to create the backup as a temporary file in the %temp% folder on the local computer, do any compact in place in the %temp% folder, and only then copy it to the final destination for the backup. |
#12
| |||
| |||
|
|
On 3/11/2011 5:35 PM, David-W-Fenton wrote: I now plan to alter the process to create the backup as a temporary file in the %temp% folder on the local computer, do any compact in place in the %temp% folder, and only then copy it to the final destination for the backup. I totally agree with the above and that is my plan to use in my "every two hour backup strategy". It will make the elapse time of the back much shorter than creating the backup across the network. bob |
#13
| |||
| |||
|
|
BobAlston wrote: On 3/11/2011 5:35 PM, David-W-Fenton wrote: I now plan to alter the process to create the backup as a temporary file in the %temp% folder on the local computer, do any compact in place in the %temp% folder, and only then copy it to the final destination for the backup. I totally agree with the above and that is my plan to use in my "every two hour backup strategy". It will make the elapse time of the back much shorter than creating the backup across the network. bob Could you create a batchfile, something like MDBCOPY.BAT COPY C:\MYMDB.MDB %1 Then call the batchfile and pass the name MYMDB is to be copied to? Var = "ANEWCOPY.MDB" CopyCommand = "COMMAND.COM /C C:\MDBCOPY.BAT " & var x=Shell(MyCommand, 1) |
#14
| |||
| |||
|
|
"Salad" <salad (AT) oilandvinegar (DOT) com> wrote in message news:kaadnfi3uKc4aefQnZ2dnUVZ_oednZ2d (AT) earthlink (DOT) com... BobAlston wrote: On 3/11/2011 5:35 PM, David-W-Fenton wrote: I now plan to alter the process to create the backup as a temporary file in the %temp% folder on the local computer, do any compact in place in the %temp% folder, and only then copy it to the final destination for the backup. I totally agree with the above and that is my plan to use in my "every two hour backup strategy". It will make the elapse time of the back much shorter than creating the backup across the network. bob Could you create a batchfile, something like MDBCOPY.BAT COPY C:\MYMDB.MDB %1 Then call the batchfile and pass the name MYMDB is to be copied to? Var = "ANEWCOPY.MDB" CopyCommand = "COMMAND.COM /C C:\MDBCOPY.BAT " & var x=Shell(MyCommand, 1) Typo alert: CopyCommand and MyCommand in the above code look like they are supposed to be the same variable. I've never used Shell ... but why use a .bat file at all? MyCommand = "COMMAND.COM /C COPY C:\MYMDB.MDB " & var Not sure why I was thinking of a bat file. Kinda dated. I suppose one |
#15
| |||
| |||
|
|
Clif McIrvin wrote: "Salad" <salad (AT) oilandvinegar (DOT) com> wrote in message news:kaadnfi3uKc4aefQnZ2dnUVZ_oednZ2d (AT) earthlink (DOT) com... [ ] Even if somebody was in an app, I'd sometimes go to a folder via Explorer and do a Ctrl+C/V to get a copy. I never had a problem opening up the copy. Doesn't mean there couldn't be a problem. Just that I never had one. I don't know if the OP was looking at an incremental change of records or if a simple copy of the entire file was to be made. |
#16
| |||
| |||
|
|
Could you create a batchfile, something like MDBCOPY.BAT COPY C:\MYMDB.MDB %1 Then call the batchfile and pass the name MYMDB is to be copied to? Var = "ANEWCOPY.MDB" CopyCommand = "COMMAND.COM /C C:\MDBCOPY.BAT " & var x=Shell(MyCommand, 1) |
![]() |
| Thread Tools | |
| Display Modes | |
| |