Televor Knowledgebase
Search:     Advanced search
Browse by category:
Contact Us

How do I automatically copy my databases to a networked file server to have my data backed up?

Add comment
Views: 4210
Votes: 1
Comments: 0
Posted: 24 Apr, 2007
by: Admin A.
Updated: 16 Jul, 2008
by: Admin A.

Creating a simple batch file and a Scheduled Task is quite simple in Windows XP (both Home and Professional). Below you will find a sample batch file that you can copy and modify to suit your own environment.

-- BEGIN BATCH FILE --

@echo off
FOR /F "tokens=1-4 delims=/ " %%I IN ('DATE /t') DO SET mydate=%%J%%K%%L
FOR /F "TOKENS=1-3* DELIMS=: " %%A IN ('time/t') DO SET MYTIME=%%A%%B%%C

mkdir "[YOUR PATH GOES HERE]\%mydate%_%MYTIME%"

copy /V "C:\Program Files\Televor Software\[Your Edition Goes Here]\Data\*.*" "[YOUR PATH FROM THE LINE ABOVE]\%mydate%_%MYTIME%\"

-- END BATCH FILE --


Once you have created the batch file and placed it in a location that you can remember, you will need to create a Scheduled Task from the Task Scheduler built in to Windows. You can access the Task Scheduler from the Control Panel. Please consult the help files from the Task Scheduler on how to create a scheduled task.

The Windows Task Scheduler can create this scheduled task to run every hour, every day, or every week, depending on how often you modify your databases. You can also run the task manually simply by double-clicking on the batch file you created in the steps above.

You could also purchase one of our USB memory stick backup/restore devices.  Our proprietary software is pre-loaded on the memory stick to allow for one-click backup and restore.  You can find our memory sticks in our web store at http://www.televor.com/store/.  You can find them under the Computer Accessories category.

Others in this Category
document How to change the field layout in the browse window.
document How do I move the default database location?
document How do I add my organization's logo to reports?
document How do I allow non-administrators to run the K-9 Information Management System?
document How do I move the software from one computer to another?
document How do I resend records already sent to my K-9 Trainer?



RSS