News and backup: Difference between revisions
Ttenbergen (talk | contribs) |
Ttenbergen (talk | contribs) |
||
| Line 15: | Line 15: | ||
*another example of this: Nov.13 - discovered that ICU Pharmacy items YES NO not going into pharmacy.mdb or centralized.mdb from first week of June to Aug 13.13. Because of backups to Regional Server, the Main office had the opportunity to pull together copies of these backups and retrieve the "lost pharm data". This has saved the data collector from having to recollect pharmacy data from the chart.[[User:TOstryzniuk|Trish Ostryzniuk]] 15:49, 2013 December 3 (CST) | *another example of this: Nov.13 - discovered that ICU Pharmacy items YES NO not going into pharmacy.mdb or centralized.mdb from first week of June to Aug 13.13. Because of backups to Regional Server, the Main office had the opportunity to pull together copies of these backups and retrieve the "lost pharm data". This has saved the data collector from having to recollect pharmacy data from the chart.[[User:TOstryzniuk|Trish Ostryzniuk]] 15:49, 2013 December 3 (CST) | ||
== | == Process == | ||
'' For the most up-to-date workings of this file see the file itself and the change | '' For the most up-to-date workings of this file see the file itself and the change logs at [[Batstart.bat#Log]] and | ||
[[Backup.bat#Log]] | |||
The "'''News and Backup'''" batch file is a batch file on each '''laptop''' which does the following: | The "'''News and Backup'''" batch file is a batch file on each '''laptop''' which does the following: | ||
* checks if there is a newer version of | * [[batstart.bat]] | ||
* back up [[CCMDB_data | ** sets the location of the laptop | ||
* back up to server w 20 versions | ** checks if there is a newer version of [[backup.bat]]; if so, it downloads it | ||
** calls [[backup.bat]] | |||
* [[backup.bat]] | |||
* back up to server w 20 versions of [[CCMDB_data.mdb]] to the SD card | |||
* back up to server w 20 versions of [[CCMDB_data.mdb]] to the regional server | |||
* check if there is a file [[Regional Server]]\Programs\<hosp>_<ward>\ccmdb.mdb; if so, | * check if there is a file [[Regional Server]]\Programs\<hosp>_<ward>\ccmdb.mdb; if so, | ||
** '''move''' the file from the regional server to c:\ccmdb_'''program''' | ** '''move''' the file from the regional server to c:\ccmdb_'''program''' | ||