CC backup.bat: Difference between revisions

TOstryzniuk (talk | contribs)
mNo edit summary
m Text replacement - "[[Category: " to "[[Category:"
 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Is a batch file which uses PKZIP to compress (zip) & back up Critical Care data files
{{LegacyContent
**FROM: C:[[TMSX]]\data 
| explanation=xxx
**TO: X:\ccmis_backup\CritBackup\2009-09-02_13-53-32 (with a backup date and time, example as shown here)
| successor=xxx
***"X" drive is also know as SANS drive
| content= 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.


*located on the Main Data processing computer in '''C:\ccmis-backup'''


*a backup '''LOG''' file is kept on the Main data processing computer on:''' C:\ccmis_backups\logs'''
----


*Files included in backup:
**Apache.dat
**Lab.dat
**Pharmacy.dat
**registryx.dat
**Tiss.dat


{{Discussion}}
This batch file creates a compressed archive using [[7Zip]] of Critical Care data files from '''C:\TMSX\data''' and subsequently stores the archive in a date-time stamped directory, e.g.,
***labels and tables should also be included in this backup but currently are not.


{{M:|ccmis_backup\CritBackup\2010-10-29_10-23-34\backup.zip}}


*Backup is done everyday or more often in a day if many edits are done.  
Files included in the backup:
* APACHE.DAT
* LAB.DAT
* PHARMACY.DAT
* [[Registryx.dat]]
* TISS.DAT


The batch file is located in '''C:\ccmis_backup''' on the main data processing computer. A backup copy is located in '''{{S:\MED\MED_CCMED}}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'''.


*also see [[MD backup.bat]]
==See also==
* [[MD backup.bat]]


==Implementation/change log==
===2012-10-30===
* Location of backup archive changed from X: to M: drive
* Updated compression utility to [http://en.wikipedia.org/wiki/7zip 7zip] (from PKZIP) to support long file names


[[User:TOstryzniuk|TOstryzniuk]] 17:58, 9 February 2009 (CST)
[[Category:Legacy Data processing batch files]]
 
}}
[[Category:Backup]]