MD backup.bat

From CCMDB Wiki
Revision as of 08:25, 2012 October 30 by Fschumacher (talk | contribs)
Jump to navigation Jump to search

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