![]() ![]() Updated the Deploy variables topic in the Cloud Guide to add the REDIS_BACKEND environment variable to configure the Redis backend model for Redis cache for Magento 2.3.5 and later. 2020 DescriptionĪdded Magento Cloud Patches v 1.0.5 Release Notes.Īdded Magento Cloud Components v 1.0.4 Release Notes.Īdded an Error message reference for ece-tools with error listing and suggested actions to resolve build and deploy issues.Īdded the wizard:split-db-state command to the Smart wizards topic in the Cloud Guide. We exclude from this list proofreading, spelling checks, and all minor updates. See about Git commands in the Cloud CLI topic.This page contains recent changes that we think you’d like to know about. Use git commands to create a branch instead of using magento-cloud commands. For example, use git log -oneline to scroll through previous commits then use git revert to restore code from a specific commit.Īlso, you can choose to store code in an inactive branch. Your code is already stored in the Git-based repository, so you can use Git-based commands to roll back (or revert) code. ![]() Snapshots do not include a copy of your code. Restore a snapshot using the snapshot ID from the list. The list returns information about the available snapshots: Snapshots on the project (project-id), environment develop-branch (type: development): To restore a snapshot using the Cloud CLI:Ĭheck out the environment branch to restore. Review the Snapshot restore date and click Restore.In the environment messages, select snapshot from the all types of drop-down list.In the left pane, click the name of the environment to restore.To restore a snapshot using the Project Web Interface: To restore an unstable environment that does not have a snapshot, see Restore an environment.To roll back to previous code or remove added extensions in an environment, see Roll back code.medium database (150 GB) can take 2 1/2 hours.large database (200+ GB) can take 5 hours.Restoration times vary depending on the size of your database: Restoring a snapshot in this manner does not apply to Pro staging and production environments see Pro Backup & Disaster Recovery. Restoring a snapshot does not change the code of the current git branch. You have up to seven days to restore a snapshot. You must have Admin access to the environment. The list returns information about the snapshot status: Snapshots on the project (project-id), environment develop-branch (type: development): Waiting for the activity ID (User created a backup of develop-branch): Sample response: Creating a snapshot of develop-branch For a full list of options, enter magento-cloud snapshot:create -help. The -live option leaves the environment running to avoid downtime. magento-cloud snapshot:create -liveĪlternatively, you can use the magento-cloud backup short command. On your local workstation, change to your project directory.Ĭheck out the environment branch to snapshot.Ĭreate the snapshot. To create a snapshot using the magento-cloud CLI: This option is not available for a Pro Production or Staging environment. In the top pane, click the Snapshots icon.In the left pane, click the name of the environment to back up. ![]() To create a snapshot using the Project Web Interface: You must have an Admin role for the environment. It is your responsibility to manually create a snapshot or set up a cron job to periodically take snapshots of your Starter or Pro Integration environments. Unlike the automatic live backups on the Pro Staging and Production environments, snapshots are not automatic. The Pro Staging and Production environments receive regular backups for disaster recovery purposes by default, see Pro Backup & Disaster Recovery. The snapshots feature does not apply to the Pro Staging and Production environments. You cannot download a copy of a snapshot. The snapshot does not include code, since the code is already stored in the Git-based repository. You can perform a manual backup of active Starter and Pro Integration environments at any time using the Snapshots button in the Project Web Interface or using the magento-cloud snapshot:create command.Ī snapshot is a complete backup of environment data that includes all persistent data from running services (MySQL database) and any files stored on the mounted volumes (var, pub/media, app/etc). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |