bradymiller wrote on Saturday, September 22, 2012:
Hi,
Since there is a rather large variety of combinations on backup methods, would be nice to get more details on backup methods on the wiki:
http://www.open-emr.org/wiki/index.php/OpenEMR_Backup_Tools
Also, to clarify (correct me if I am wrong), byt mysqldump by default has the -opt parameter on, which locks tables (so, as long as use this command with using any parameters to explicitly remove locks, should be fine; that being said, always good practice to include -opt in the command, which is done in backup method within OpenEMR).
The backup script should work (since it is utilizing mysqldump with lock and appropriate copy of the web files), but I think the main issue seems to be the download issues.
I agree with Tony (in a way). Ideally, the user implements a automated command line tool to backup their OpenEMR frequently and off site. However, the natural progression of new users will likely be to use the internal OpenEMR backup mechanism(ie. limit their initial resource investment) until they become comfortable to either implement a more sophisticated method (or hire somebody to do it). (This is where documentation on various backup methods in the wiki would be extremely helpful)
So, is is beneficial for this thing to work correctly. Also with bug in this script reported by:
http://sourceforge.net/projects/openemr/forums/forum/202505/topic/5789277
To debug, curious to know in both Jeff and rdh61 cases the files/directories and sizes you see at /tmp/openemr_web_backup after running the backup script (note the files will keep getting bigger while the script is running, so wait until files stop growing)
-brady
OpenEMR