MD backup.bat: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
m clean-up
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This is a batch file which uses PKZIP to compress (zip) & back up Medicine dat files
This is a legacy article only. Medicine is no longer being backed
**FROM: C:[[MedTMS]]\data 
up because no longer used. Centralized backup gets taken care of
**TO: X:\ccmis_backup\MedBackup\2009-09-02_13-53-32 (with a backup date and time, example as shown here)
by the [[Pull down centralized data.vbs]] and  
***"X" drive is also know as SANS drive
[[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_backup\logs'''
----


*Files included in backup:
**ADL.dat
**Apache.dat
**iTISS.dat
**lab.dat
**Pharmacy.dat
**registryx.dat
**SAPSII.dat
**SapXtra.dat


{{Discussion}}
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.,
*labels and tables should also be included in this backup but currently are not.
** 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)


*MD_backup is done everyday or more often in a day if many edits are done.
M:\ccmis_backup\MedBackup\2010-10-29_10-23-34\backup.zip
*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.


*also see [[CC backup.bat]]
Files included in the backup:
* ADL.DAT
* APACHE.DAT
* iTISS.DAT
* LAB.DAT
* PHARMACY.DAT
* [[Registryx.dat]]
* SAPSII.DAT
* SAPXTRA.DAT


*[[User:TOstryzniuk|TOstryzniuk]] 18:02, 9 February 2009 (CST)
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==
* [[CC backup.bat]]


[[Category:Data processing backup]]
==Implementation/change log==
[[Category: Questions Data Processing]]
===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
 
[[Category: Legacy Data processing batch files]]

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