PC Review


Reply
Thread Tools Rate Thread

Automated Backup in Access???

 
 
=?Utf-8?B?VG9ueQ==?=
Guest
Posts: n/a
 
      26th Jun 2006
I have been having some troubles with my db as of late. If I don't do a
compact and repair every couple of days it seems to go haywire. I have found
that as long as I do that it runs pretty good. But on the occasion I am not
in the office but traveling I would like to find a way to have my db do an
auto compact and then back itself up.

Is Access capable of doing this? If so can someone point me into the
direction of how to get it done?

Thanks
 
Reply With Quote
 
 
 
 
Danny J. Lesandrini
Guest
Posts: n/a
 
      26th Jun 2006
Here are a couple of VS Script files that show how to compact and backup a file
using the windows scripting engine. You could schedule these .vbs files to run
nightly. Just edit them (of course) with your file paths.

http://amazecreations.com/datafast/G...WSHBkup001.zip
http://amazecreations.com/datafast/G...CompactMDB.zip
--

Danny J. Lesandrini
(E-Mail Removed)
http://amazecreations.com/datafast


"Tony" <(E-Mail Removed)> wrote ...
>I have been having some troubles with my db as of late. If I don't do a
> compact and repair every couple of days it seems to go haywire. I have found
> that as long as I do that it runs pretty good. But on the occasion I am not
> in the office but traveling I would like to find a way to have my db do an
> auto compact and then back itself up.
>
> Is Access capable of doing this? If so can someone point me into the
> direction of how to get it done?
>
> Thanks



 
Reply With Quote
 
=?Utf-8?B?VG9ueQ==?=
Guest
Posts: n/a
 
      26th Jun 2006
I understand the code in the scripts but where do I insert them in Access?
Also, how do I define the time to have it auto run?

"Danny J. Lesandrini" wrote:

> Here are a couple of VS Script files that show how to compact and backup a file
> using the windows scripting engine. You could schedule these .vbs files to run
> nightly. Just edit them (of course) with your file paths.
>
> http://amazecreations.com/datafast/G...WSHBkup001.zip
> http://amazecreations.com/datafast/G...CompactMDB.zip
> --
>
> Danny J. Lesandrini
> (E-Mail Removed)
> http://amazecreations.com/datafast
>
>
> "Tony" <(E-Mail Removed)> wrote ...
> >I have been having some troubles with my db as of late. If I don't do a
> > compact and repair every couple of days it seems to go haywire. I have found
> > that as long as I do that it runs pretty good. But on the occasion I am not
> > in the office but traveling I would like to find a way to have my db do an
> > auto compact and then back itself up.
> >
> > Is Access capable of doing this? If so can someone point me into the
> > direction of how to get it done?
> >
> > Thanks

>
>
>

 
Reply With Quote
 
Danny J. Lesandrini
Guest
Posts: n/a
 
      26th Jun 2006
I'm sorry for not explaining that more clearly. When I said 'you could schedule them'
I meant through Windows Task Manager, not through Access.

Start | Program Files | Accessories | System Tools | Scheduled Tasks

Give it a look and the wizards will walk you through the process. Once you have the
VBS files ready, just schedule their launch as a nightly job.
--

Danny J. Lesandrini
(E-Mail Removed)
http://amazecreations.com/datafast


"Tony" <(E-Mail Removed)> wrote ...
>I understand the code in the scripts but where do I insert them in Access?
> Also, how do I define the time to have it auto run?
>
> "Danny J. Lesandrini" wrote:
>
>> Here are a couple of VS Script files that show how to compact and backup a file
>> using the windows scripting engine. You could schedule these .vbs files to run
>> nightly. Just edit them (of course) with your file paths.
>>
>> http://amazecreations.com/datafast/G...WSHBkup001.zip
>> http://amazecreations.com/datafast/G...CompactMDB.zip
>> --
>>
>> Danny J. Lesandrini
>> (E-Mail Removed)
>> http://amazecreations.com/datafast



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automated Db backup Rich Microsoft Access Queries 7 3rd Jun 2009 12:07 AM
Automated Backup System for Access 2002 Booli Microsoft Access VBA Modules 0 24th Feb 2009 05:11 PM
Access 2007 automated backup karlman Microsoft Access 0 29th May 2008 08:17 PM
XP Pro Automated Backup does not run John Smith Windows XP Help 1 26th Aug 2004 05:02 PM
Automated backup Benita Microsoft Windows 2000 File System 0 30th Jul 2003 07:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:23 AM.