CATEGORII DOCUMENTE |
Asp | Autocad | C | Dot net | Excel | Fox pro | Html | Java |
Linux | Mathcad | Photoshop | Php | Sql | Visual studio | Windows | Xml |
How to create a Scheduled Task in Windows
How to configure the batch file
To open the batch file, right-click on the file named MSDEMoveBackup.bat and click on edit.
The default path is: C:program filesposition technologyMSDE Management console.
The target directory must be shared and appropriate permission must be assigned to the windows
user. You then map the network drive on the source computer. Please contact your network
administrator or the Position Technology technical support department at support@postech.ca
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: (C) 1998 - 2003 Position Technology Inc. All rights reserved.
@ECHO OFF
:: 1- Set the source directory where your backup are store by MSDE utility. In this example,
the source directory is C:
CD C:
:: 2- Set the name of the Main database backup
file. In this example, the
filename is Centaur3Main.bak. So you must type the same filename you enter in MSDE
management.
Don't forget to type the same filename on the following two lines.
FOR /f 'tokens=2-4 delims=/ ' %%a in ('DATE/T') do SET NewMain=%%c_%%a_%%b_Centaur3Main.bak
rename Centaur3Main.bak %NewMain%
:: 3- Set the name of the Event database backup file. In this example, the Event database
backup filename is Centaur3Event.bak. So you must type the same filename you enter in
:: MSDE management.
Don't forget to type the same filename on the following two lines.
FOR /f 'tokens=2-4 delims=/ ' %%a in ('DATE/T') do SET NewEvent=%%c_%%a_%%b_Centaur3Events.bak
rename Centaur3Events.bak %NewEvent%
:: 4- Set the destination directory of your backup for both files. Each file can have a
different destination directory. In this example, the destination directory is
U:CentaurDBBackup and NetworkDriveCentaurBackup.
MOVE %NewMain% U:CentaurDBBackup
MOVE %NewEvent% NetworkDriveCentaurBackup
Politica de confidentialitate | Termeni si conditii de utilizare |
Vizualizari: 847
Importanta:
Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved