patch-file-uploaded

Step 5: Install the Patch to the Backup (Optional)

1. Return to Putty in the directory where the patch, backup, and magento folders are located. Change directories to the patch folder, and list a directory to verify that the patch files are there. Then, copy each patch file up one level. (Just remember—two dots up, one dot down.) cd patch ls -l cp PATCH_SUPEE-1533_EE_1.13.x_v1-2015-02-10-08-18-32.sh .. cp PATCH_SUPEE-5344_CE_1.8.0.0_v1-2015-02-10-08-10-38.sh .. cd …

patch-upload

Step 4: Upload the Patch

1. To avoid permission problems when you upload the patch from your desktop, create a folder for the patch without any restrictive permissions. From Putty, navigate back to the level of the magento and backup folders. Then, make a new folder called patch, and change the permissions of the folder to 777. cd .. ls -l mkdir patch chmod 777 …

backup-folder-with-correct-owner-and-group

Step 3: Create a Backup of the Magento Folder (Optional)

1. Use the Change Directory command, followed by two dot to move one level up in the directory tree. Then, list the directory so you can see the magento folder. cd .. ls -l 2. Enter the following command to create a new folder, called backup. mkdir backup ls -l a. If you get a “Permission denied” message, add sudo …

patch-server-magento-dir-locked-down

Step 2: Set the Necessary Permissions

For a live store, permissions are locked down to prevent unauthorized access. However, you must change the permissions of the contents of the Magento installation folder before you can install the patch. In the following instructions, Putty is used to access the command line and change the permissions. 1. Click the Start button in the lower-left corner of your desktop, …

patch-download-tab

Step 1: Download the Patch

1. When you receive the message in your Inbox, click the Read details link to open the Magento Community Edition Download page. (The link in the Inbox is for convenience, and you can access the Download page at any time.) 2. Scroll down to the Download tab, under the Magento Community Edition Patches section. Then, find the patches that need …

admin-message-security-patch-install

Installing Patches with SSH

Whenever a patch is released to fix an issue in the code, a notice is sent directly to your Admin InboxInbox. If the update is security related, the incoming message is color-coded red, and marked as a “Critical Update.” Make sure to stop by our Magento Security Center, and sign up for the Security Alert Registry to receive direct notification …

magpatch

Installing Magento Patches

Magento recently launched several patches to correct vulnerabilities in the system. It is recommended that you upgrade your store to the latest version of Magento, and install any security-related patches as soon as they become available. Make sure to stop by our Magento Security Center, and sign up for the Security Alert Registry to receive direct notification from our security …

magento-backup

Rolling Back Changes

At times it might become necessary to roll back changes to a previous backup. Important! Use Rollback with caution. Customers who are in the process of checking out when you start the rollback may not be able to complete the process. To roll back the whole system or the database: 1. On the Admin menu, select System > Tools > …

magento-scheduled-backup

Creating a Backup

Database backup files are compressed using the .gz format. The .tgz format is used for system, database, and media backups. Backup files are stored in the var/backups directory in your Magento file system. The files that are stored in the /var/cache, /var/log, /var/session and /var/report folders are excluded from the backup. To create a single backup: 1. On the Admin …

magento-backup

Server Backups & Rollback

Magento Community Edition gives you the ability to back up different parts of the system— such as the database, file system, or both—and to rollback automatically. Files are compressed using the .gz and .tgz formats. Best Practices Restrict access to backup tools. Access to the backup and rollback tools can be restricted by configuring user permissions for backup and rollback …