Creating a Batch File to Run a Backup
Before you begin
Use this procedure to perform a backup as part of a larger custom process, for example, if you want to perform other procedures as well as a backup. The steps below are for Windows 7. The steps for other operating systems can vary.
To create a batch file to run a backup:
Procedure
-
Click the Windows Start button
.
-
Type Notepad. The Notepad application will appear in the
list of available programs.
-
Click Notepad. The Notepad window is
displayed.
- Paste or enter the full path to the configuration file, for example, C:\Program Files\Health Communication Network\Common\HcnBackupCmd.exe" -C"C:\HCN\Configurations\HCN Live Data.BCF.
- Select Save As window is displayed. . The
- Select the location to create the batch file in the Save in field.
- Enter the file name followed by the text.bat in the File name field. For example, HcnBackups.bat.
-
Select All Files from the Save as
type field and click Save.
Configurations (Backup) for Clinical/Pracsoft
The settings you select for the tabs within the MedicalDirector Backup utility can be saved as a configuration, giving you the opportunity to quickly load and initiate different backup configurations when necessary. Configurations are managed via the New, Open, and Save buttons at the top of the MedicalDirector Backup utility window. Upon opening the MedicalDirector Backup utility, the settings for the last configuration used will be selected automatically.
- Create a new configuration by clicking New. This action clears the settings from each tab.
- Load a saved configuration by clicking Open
- Save a configuration by clicking Save. It is
recommended that you give the configuration file a name that represents the
settings you have selected.
Click Detect to have the utility attempt to automatically determine and configure many of the settings available, including such things as your server name and available databases.