MD backup.bat: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
TOstryzniuk (talk | contribs)
mNo edit summary
m clean-up
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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.,
This is a legacy article only. Medicine is no longer being backed
up because no longer used. Centralized backup gets taken care of
by the [[Pull down centralized data.vbs]] and
[[Push up centralized data.vbs]] scripts instead.
 
 
----
 
 
This batch file creates a compressed archive using [[7Zip]] 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
M:\ccmis_backup\MedBackup\2010-10-29_10-23-34\backup.zip
Line 23: Line 32:
* Updated compression utility to [http://en.wikipedia.org/wiki/7zip 7zip]  (from PKZIP) to support long file names
* Updated compression utility to [http://en.wikipedia.org/wiki/7zip 7zip]  (from PKZIP) to support long file names


[[Category:Data processing batch files]]
[[Category: Legacy Data processing batch files]]
[[Category:Batch Files]]
[[Category: Backup]]

Latest revision as of 11:15, 2015 March 5

This is a legacy article only. Medicine is no longer being backed 
up because no longer used. Centralized backup gets taken care of 
by the Pull down centralized data.vbs and 
Push up centralized data.vbs scripts instead. 




This batch file creates a compressed archive using 7Zip 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 7zip (from PKZIP) to support long file names