News and backup: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
TOstryzniuk (talk | contribs)
mNo edit summary
mNo edit summary
Line 1: Line 1:
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:  
* back up c:\ccmdb_data\ccmdb.mdb to the SD card
* back up c:\ccmdb_'''data'''\ccmdb.mdb to the SD card
* back up c:\ccmdb_data\ccmdb.mdb to [[Regional Server]]\data\<hosp>_<ward>
* back up c:\ccmdb_'''data'''\ccmdb.mdb to [[Regional Server]]\data\<hosp>_<ward>
* 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''' ...
** '''move''' the file from the regional server to c:\ccmdb_'''program'''
 
** open the wiki to [[Log]] to show what has changed
More to follow...[[User:Ttenbergen|Ttenbergen]]
 




[[Category: Batch Files]]
[[Category: Batch Files]]

Revision as of 10:02, 27 August 2009

The "News and Backup" batch file is a batch file on each laptop which does the following:

  • back up c:\ccmdb_data\ccmdb.mdb to the SD card
  • back up c:\ccmdb_data\ccmdb.mdb to Regional Server\data\<hosp>_<ward>
  • 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
    • open the wiki to Log to show what has changed