CC 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 '''Critical Care Data files'''
This batch file creates a compressed archive of Critical Care data files from '''C:\TMSX\data''' and subsequently stores the archive on the M: drive in a date-time stamped directory, e.g.,
*FROM: C:[[TMSX]]\data
*TO: X:\ccmis_backup\CritBackup\2009-09-02_13-53-32 (with a backup date and time, example as shown here)


*Files included in backup:
M:\ccmis_backup\CritBackup\2010-10-29_10-23-34\backup.zip
**Apache.dat
**Lab.dat
**Pharmacy.dat
**registryx.dat
**Tiss.dat


{{Discussion}}
Files included in the backup:
*labels and tables (i.e. files with extensions: tbl, DLT, DTF, TM$, RND) should also be included in this backup but currently are not.
* APACHE.DAT
** '''Is this still outstanding? If so, please book a time for a visit. [[User:Ttenbergen|Ttenbergen]] 11:16, 2012 September 6 (CDT)
* LAB.DAT
* PHARMACY.DAT
* REGISTRYX.DAT
* TISS.DAT


*CC_backup is done once a day by the data processor.
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'''.
*A backup ([[CC_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 & TISS scanning is done.


==File Location==
==See also==
*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'''
 
==Related Articles ==
* [[MD backup.bat]]
* [[MD backup.bat]]
* [[CC Reg Update.bat]]


==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


[[Category: Questions Data Processing]]
[[Category:Data processing batch files]]
[[Category: Data processing batch files]]
[[Category:Batch Files]]

Revision as of 08:19, 30 October 2012

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

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

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 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