Difference between revisions of "Obliteration of OpenEMR"

From OpenEMR Project Wiki
 
(11 intermediate revisions by the same user not shown)
Line 33: Line 33:


=====System Image=====
=====System Image=====
Two applications for creating a system image are Clonzilla and Macrium Reflect.  There is no reason to clone the hard drive because it is an inefficient use of backup media and it takes an unwarranted expenditure of time.
Two applications for creating a system image are Clonezilla and Macrium Reflect.  There is no reason to clone the hard drive because it is an inefficient use of backup media and it takes an unwarranted expenditure of time.


======Clonzilla======
======Clonezilla======
Clonzilla is available as a [http://clonezilla.org/downloads.php free download] with a [http://clonezilla.org/screenshots/?in_path=/00_Clonezilla tutorial].
Clonezilla is available as a [http://clonezilla.org/downloads.php free download] with a [http://clonezilla.org/screenshots/?in_path=/00_Clonezilla tutorial].


======Macrium Reflect======
======Macrium Reflect======
[http://www.macrium.com/reflectfree.aspx Macrium Reflect] is available only as a trial now.  It had been freeware in the past.  The application is not needed for the creation of the system image because the [http://www.macrium.com/help/v5/How_to/Rescue/Create_a_Standard_Windows_PE_Rescue_Environment.htm Windows PE Rescue Environment] can be deployed in place of the application.   
[http://www.macrium.com/reflectfree.aspx Macrium Reflect] is available only as a trial now.  It had been freeware in the past.  The application is not needed for the creation of the system image because the [http://www.macrium.com/help/v5/How_to/Rescue/Create_a_Standard_Windows_PE_Rescue_Environment.htm Windows PE Rescue Disk] can be deployed in place of the application.   


Because there is no Linux version of Macrium Reflect, it must be installed in a Windows device or a Windows partition.  The application is packaged with the .iso to burn the Windows PE Rescue Environment onto a CD.  The user should be careful to match the .iso to the architecture of the device where it will be deployed.  A 32 bit .iso will not work on a 64 bit device and ''vice versa''.
Because there is no Linux version of Macrium Reflect, it must be installed in a Windows device or a Windows partition.  The download is one single package with the application, the .iso and burning software.  The user should be careful to match the .iso to the architecture of the device where it will be deployed.  A 32 bit .iso will not work on a 64 bit device and ''vice versa''.


Despite the fact that Macrium Reflect does not have a Linux version, the Windows PE Rescue disk runs independently and ''ab externo'' to the operating system; therefore the operating system matters little.  This has the additional advantage of quicker execution time.
Despite the fact that Macrium Reflect does not have a Linux version, the Windows PE Rescue Disk runs independently and ''ab externo'' to the operating system; therefore the operating system matters little.  This has the additional advantage of quicker execution time.


The tutorial for backup and recovery with the Windows PE Rescue Disk can be found  [[Macrium_Reflect_Backup_and_Recovery|here]].
The tutorial for backup and recovery with the Windows PE Rescue Disk can be found  [[Macrium_Reflect_Backup_and_Recovery|here]].
Line 53: Line 53:
Removal of OpenEMR Package in Windows is equally simple as described [[Dual_Upgrade_of_OpenEMR_and_XAMPP_in_Windows#Deleting_Old_Data|here]].
Removal of OpenEMR Package in Windows is equally simple as described [[Dual_Upgrade_of_OpenEMR_and_XAMPP_in_Windows#Deleting_Old_Data|here]].


The user should note that the built-in utility for system image creation in Windows 7 is unreliable.  This task is better handled with the Windows PE Rescue disk mentioned above. The creation of a system image periodically serves as another layer of backup redundancy.
The user should note that the built-in utility for system image creation in Windows 7 is unreliable.  If recovery is not possible, the backup is essentially useless.  Backing up requires multiple DVD's.  It is impossible to use an external hard drive as a destination.  Run time is lengthy.
 
System image creation and recovery have been [http://www.cnet.com/au/how-to/how-to-create-a-system-image-in-windows-10/ hidden] in Windows 8 and 10, forcing users to hunt for them; but there exists a superlative alternative.
 
This task is ably handled with the Windows PE Rescue Disk mentioned above. Periodical and consistent creation of system images provides an extra layer of backup redundancy.
 




Line 61: Line 66:
[[File:Bird.GIF|center]]
[[File:Bird.GIF|center]]
::::::::::::<span style = "color:green;">Yes, it is a peacock.  Just pretend it is a phoenix.</span>
::::::::::::<span style = "color:green;">Yes, it is a peacock.  Just pretend it is a phoenix.</span>




[[Category:Configuration Guide]]
[[Category:Configuration Guide]]

Latest revision as of 12:23, 28 June 2015

Preface

A user will find himself at some point needing to delete OpenEMR because of difficulties with installation, upgrade, transfer to a new device or inability to remedy corrupt files. OpenEMR must be removed in order for the user to move forward and begin anew. Some installations lend themselves more readily to deletion than others depending on the operating software, bundling and hosting.

Hosted

Because the command line is unavailable, the user is at a great disadvantage. The workaround would be to save the web directory and then export the database via phpMyAdmin to another site. A new copy of OpenEMR can be installed with the deletion of the old database and the creation of a new database. The four default folders, documents, era, edi and letter_templates are copied and pasted into the new copy of OpenEMR while the old database is imported back with phpMyAdmin.

Linux

Package

If the Ubuntu-Debian Package had been installed, deletion is straightforward with this command in the Terminal:

sudo apt-get remove openemr

If unsuccessful, refer to the next section below for more options.

Generic

If the user had installed a copy that had not been bundled together, the process will require deletions of the following folders:

/var/www/openemr

/etc/openemr

/var/log/openemr

var/lib/mysql/openemr

Nuclear Option

If failure persists, the user must resort to the "nuclear option" of reinstalling the operating system to obliterate all traces of OpenEMR.

The user must be certain that he had properly saved the web directory and the dumpfile of the database to another drive.

Because it is time consuming to reinstall the operating system, the user is advised to select an application of creating a system image minus OpenEMR. Should the "nuclear option" be exercised more than once, the system image will facilitate repetition.

System Image

Two applications for creating a system image are Clonezilla and Macrium Reflect. There is no reason to clone the hard drive because it is an inefficient use of backup media and it takes an unwarranted expenditure of time.

Clonezilla

Clonezilla is available as a free download with a tutorial.

Macrium Reflect

Macrium Reflect is available only as a trial now. It had been freeware in the past. The application is not needed for the creation of the system image because the Windows PE Rescue Disk can be deployed in place of the application.

Because there is no Linux version of Macrium Reflect, it must be installed in a Windows device or a Windows partition. The download is one single package with the application, the .iso and burning software. The user should be careful to match the .iso to the architecture of the device where it will be deployed. A 32 bit .iso will not work on a 64 bit device and vice versa.

Despite the fact that Macrium Reflect does not have a Linux version, the Windows PE Rescue Disk runs independently and ab externo to the operating system; therefore the operating system matters little. This has the additional advantage of quicker execution time.

The tutorial for backup and recovery with the Windows PE Rescue Disk can be found here.

OS X

If OpenEMR had been installed with XAMPP, after stopping Apache and MySQL; the entire XAMPP folder can be rapidly disposed of with AppCleaner.

Windows

Removal of OpenEMR Package in Windows is equally simple as described here.

The user should note that the built-in utility for system image creation in Windows 7 is unreliable. If recovery is not possible, the backup is essentially useless. Backing up requires multiple DVD's. It is impossible to use an external hard drive as a destination. Run time is lengthy.

System image creation and recovery have been hidden in Windows 8 and 10, forcing users to hunt for them; but there exists a superlative alternative.

This task is ably handled with the Windows PE Rescue Disk mentioned above. Periodical and consistent creation of system images provides an extra layer of backup redundancy.



OpenEMR has been obliterated. Onward to its revival.
Pheonix.png
Bird.GIF
Yes, it is a peacock. Just pretend it is a phoenix.