On Windows the relative path is different depending on whether you used XAMPP-OpenEMR or installed your own services. Some Windows site admins prefer to use IIS in stead of Apache for their web server. Assuming a XAMPP-OpenEMR basic installation the path should be:
C:\xampp\htdocs\openemr\sites\default\documents\
If you look in this directory, there should be a lot of numbers that correspond to the individual pid numbers of each patient. This directory contains all the scanned images for your site. A mysqldump command will be useful in backing up the database and this is the basis of the "backup" command in the openemr/admin section. Most admins like making daily backups, once a week, once a month. Occasionally data can become corrupted in a way that it is not noticed for a few days. The older copies like a once a week x 4 weeks, then keeping the monthly copies can be used to recover data corruption that has not been discovered after a few days.
in OpenEMR migrate to Adminiistration --> Backup --> create backup
This can be automated. You can schedule a job in Windows to do this say at 02:00 AM every day so that it does not bog the practice down during the day.
You will need to "ghost" the web page on a regular basis as well using a similar scheme as for the database dumps. i am not as familiar with the Windows tools so you will have to investigate this on your own. Art Eaton would be a good one to ask because he does this in a Windows environment. In Linux we "rsync". rsync only updates the files that have been changed. A typical rsync command would be:
# rsync -avz /var/www/html/openemr backupserver:/var/openemr
This command will back up the whole openemr site including the documents directory.
We also have "logrotate" that can maintain the schedule mentioned above automatically after it has been set up.
Sam Bowen
oemr.org
