I have a Access 2000 file saved at the shared drive and needed to make backup files at other location.
I have heard about window xp have schedule function can do the work. But I do not know how and wish someone can kindly give me in steps how to set the PC can automitically make a backup each day after office hour ? (wish to keep 3 days backup and can replace the oldest file each day).
Thanks a lot!
5 2215 numberwhun 3,509
Recognized Expert Moderator Specialist
I have a Access 2000 file saved at the shared drive and needed to make backup files at other location.
I have heard about window xp have schedule function can do the work. But I do not know how and wish someone can kindly give me in steps how to set the PC can automitically make a backup each day after office hour ? (wish to keep 3 days backup and can replace the oldest file each day).
Thanks a lot!
XP does have a "scheduler" in which you can set a task to run a program (say that would perform your backup as configured) at a specific day/time. You want to go to: Start -> All Programs -> Accessories -> System Tools -> Scheduled Tasks
That is the scheduler that Windows has for tasks to be automated. It is pretty self explanatory to use.
Regards,
Jeff
So how can I make the schedule such that I can save the files for the backup at different location daily and the file names should look like..
e.g. abc28-01-2008.mdb
abc29-01-2008.mdb
abc30-01-2008.mdb
and after that more than 3 copies of the backup file, the new backup will replace the oldest one?
Can I write the batch file to satify such requirements?
And then I set the scheduler to run such batch file at the scheduled time daily?
What will be the content for the batch file?
Thanks a lot!
numberwhun 3,509
Recognized Expert Moderator Specialist
So how can I make the schedule such that I can save the files for the backup at different location daily and the file names should look like..
e.g. abc28-01-2008.mdb
abc29-01-2008.mdb
abc30-01-2008.mdb
and after that more than 3 copies of the backup file, the new backup will replace the oldest one?
Can I write the batch file to satify such requirements?
And then I set the scheduler to run such batch file at the scheduled time daily?
What will be the content for the batch file?
Thanks a lot!
You would have to write a batch file or something that does exactly what you want. The scheduler is only for running jobs, not performing tasks like a script would. You create the batch file or script of your choice and set the scheduler up to run it at scheduled times.
Regards,
Jeff
I have made 3 batch files:
copy g:\abc\abc.mdb g:\abc\history\ abc1.mdb (batch file 1)
copy g:\abc\abc.mdb g:\abc\history\ abc2.mdb (batch file 2)
copy g:\abc\abc.mdb g:\abc\history\ abc3.mdb (batch file 3)
the schedule will run after 3 days,
how can I made the schedule can not run on every saturday and sunday?
willl it replace the file automically if abc1,abc2 and abc3 is already existed? And how to modify the batch files so that it will replace the files accordingly?
thz!
numberwhun 3,509
Recognized Expert Moderator Specialist
I have made 3 batch files:
copy g:\abc\abc.mdb g:\abc\history\ abc1.mdb (batch file 1)
copy g:\abc\abc.mdb g:\abc\history\ abc2.mdb (batch file 2)
copy g:\abc\abc.mdb g:\abc\history\ abc3.mdb (batch file 3)
the schedule will run after 3 days,
how can I made the schedule can not run on every saturday and sunday?
willl it replace the file automically if abc1,abc2 and abc3 is already existed? And how to modify the batch files so that it will replace the files accordingly?
thz!
If you don't want it to run on Saturday and Sunday, then don't schedule those days. As for what happens to the files, that is dependent on your scripts. The scheduler simply runs what you tell it, and that is ALL that it does. The actions that the ran program take are not dependent on what the scheduler says. You have to code in the batch file if you want something replaced or not. Unfortunately, I don't know much at all about Windows batch scripting.
Regards,
Jeff
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Bob |
last post by:
Hi,
I run UDB 7.2
I have an ETL schema.
I have a jobs flow to populate the warehouse schema.
I run the flow manually ( "Run new step" from "Work in progress"
window ) and everything works just fine.
I schedule the flow to work automatically and it stops with the
|
by: greg7224 |
last post by:
I am currently working on a C# project that uses the Janus schedule
controls, and am having trouble getting it to print correctly in Day
view. The problem is that it will not print out the owners of the
appointments unless I set the ShowAllDayArea parameter to true. When I
do this, a large and unsightly grey box is drawn above the actual
schedule in day view, wasting space and making things look generally
ugly.
I am using the built in...
|
by: n0sPaM |
last post by:
Is it possible to schedule an .ASPX page to run automatically, say every
hour?
N.B.
|
by: viki1967 |
last post by:
Hi there.
Hi have this script:
<script language="javascript" type="text/javascript">
<!--
var fieldNames = new Array("IRE", "ISI", "IMI", "REL", "REV", "MAN", "SOP", "GUF", "FOR", "VAS");
function loaded()
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |