MD backup.bat: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
Fschumacher (talk | contribs)
No edit summary
Line 1: Line 1:
This is a batch file which uses PKZIP to compress (zip) & back up Medicine dat files
This batch file creates a compressed archive of Medicine data files from '''C:\MedTMS\data''' and subsequently stores the archive on the M: drive in a date-time stamped directory, e.g.,
**FROM: C:[[MedTMS]]\data
**TO: X:\ccmis_backup\MedBackup\2009-09-02_13-53-32 (with a backup date and time, example as shown here)
***"X" drive is also know as SANS drive


*located on the Main Data processing computer in:  '''C:\ccmis_backup'''
M:\ccmis_backup\MedBackup\2010-10-29_10-23-34\backup.zip


*a backup '''LOG''' file is kept on the Main data processing computer on: '''C:\ccmis_backup\logs'''
Files included in the backup:
* ADL.DAT
* APACHE.DAT
* iTISS.DAT
* LAB.DAT
* PHARMACY.DAT
* REGISTRYX.DAT
* SAPSII.DAT
* SAPXTRA.DAT


*Files included in backup:
The batch file is located in '''C:\ccmis_backup''' on the main data processing computer. A backup copy is located in '''X:\ccmis_backup\Copy of batch files on Pagasa C drive'''. It is run once daily by the [[Data Processor]]. Each time the batch is run a log file is also generated and is located at '''C:\ccmis_backup\logs'''.
**ADL.dat
**Apache.dat
**iTISS.dat
**lab.dat
**Pharmacy.dat
**registryx.dat
**SAPSII.dat
**SapXtra.dat


{{Discussion}}
==See also==
*labels and tables should also be included in this backup but currently are not.
* [[MD Reg Update.bat]]
** '''What are the labels and tables? Trish or Pagasa, please book an appointment to get this done. [[User:Ttenbergen|Ttenbergen]] 12:49, 29 January 2010 (CST)
* [[CC backup.bat]]


*MD_backup is done everyday or more often in a day if many edits are done.
==Implementation/change log==
*A backup ( [[MD_Reg Update.bat]] ) is also done to three other computer's local hard drives in the main database program office office.  This is done once per week or more often when edits are done.
===2012-10-30===
* Location of backup archive changed from X: to M: drive
* Updated compression utility to 7-Zip (from PKZIP) to support long file names


*also see [[CC backup.bat]]
[[Category:Data processing batch files]]
 
[[Category:Batch Files]]
*[[User:TOstryzniuk|TOstryzniuk]] 18:02, 9 February 2009 (CST)
 
 
[[Category: Data processing backup]]
[[Category: Questions Data Processing]]

Revision as of 08:25, 2012 October 30

This batch file creates a compressed archive of Medicine data files from C:\MedTMS\data and subsequently stores the archive on the M: drive in a date-time stamped directory, e.g.,

M:\ccmis_backup\MedBackup\2010-10-29_10-23-34\backup.zip

Files included in the backup:

  • ADL.DAT
  • APACHE.DAT
  • iTISS.DAT
  • LAB.DAT
  • PHARMACY.DAT
  • REGISTRYX.DAT
  • SAPSII.DAT
  • SAPXTRA.DAT

The batch file is located in C:\ccmis_backup on the main data processing computer. A backup copy is located in X:\ccmis_backup\Copy of batch files on Pagasa C drive. It is run once daily by the Data Processor. Each time the batch is run a log file is also generated and is located at C:\ccmis_backup\logs.

See also

Implementation/change log

2012-10-30

  • Location of backup archive changed from X: to M: drive
  • Updated compression utility to 7-Zip (from PKZIP) to support long file names