CC backup.bat: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
TOstryzniuk (talk | contribs)
No edit summary
m Text replacement - "[[Category: " to "[[Category:"
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This 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
| 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.


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


{{Discussion}}
----
{{Question IT}}
*labels and tables (i.e. files with extensions: tbl, DLT, DTF, TM$, RND) should also be included in this backup but currently are not.
*CC_backup is done once a day by the data processor.
*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==
*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'''
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.,


==Related Articles ==
{{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 '''{{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'''.
 
==See also==
* [[MD backup.bat]]
* [[MD backup.bat]]


==Discussion==
==Implementation/change log==
{{Discussion}}
===2012-10-30===
Tina, with Pagasa setting up a new computer,will this work?  Where do we get PKZIP program from to install on her computer--[[User:TOstryzniuk|Trish Ostryzniuk]] 18:19, 2012 March 13 (CDT)
* 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:Data processing backup]]
[[Category:Legacy Data processing batch files]]
[[Category:Batch Files]]
}}
[[Category:Questions Data Processing]]

Latest revision as of 10:32, 30 July 2025

Legacy Content

This page contains Legacy Content.

  • Explanation: xxx
  • Successor: xxx

Click Expand to show legacy 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. 




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

M:\​ccmis_backup\CritBackup\2010-10-29_10-23-34\backup.zip (full address: \\ad.wrha.mb.ca\wrha\HSC\shared\WRHA\WRHA_CCMED\ccmis_backup\CritBackup\2010-10-29_10-23-34\backup.zip)

Files included in the backup:

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

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