You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a common workflow to import a backup from the cloud environment to work on locally, in particular when reproducing bugs. We can make this pretty straightforward by handling the download, unpacking and subsequent series of CLI commands required:
db import
search replace
media upload
s3 import
cache flush
ES reindexing
Developers can copy an export URL Altis Dashboard and append it to the command composer server import. The command should be able to receive a URL or a path.
Acceptance criteria:
Developers should be able to import a backup with a command like composer server import <URL>/<PATH>, with the URL being an export URL from the Altis Dashboard.
Document the feature in the local-server docs.
The text was updated successfully, but these errors were encountered:
Question: should we look at allowing for some kind of default cloud URL configuration per environment? Or document how a team can add composer scripts if the defaults don't work for them eg:
wisyhambolu
changed the title
Add import feature to sync a cloud environment to local server
SPIKE: Add import feature to sync a cloud environment to local server
Jun 7, 2023
wisyhambolu
changed the title
SPIKE: Add import feature to sync a cloud environment to local server
Add import feature to sync a cloud environment to local server
Jun 7, 2023
Work in progress here: #345
Description
It's a common workflow to import a backup from the cloud environment to work on locally, in particular when reproducing bugs. We can make this pretty straightforward by handling the download, unpacking and subsequent series of CLI commands required:
db import
search replace
media upload
s3 import
cache flush
ES reindexing
Developers can copy an export URL Altis Dashboard and append it to the command
composer server import
. The command should be able to receive a URL or a path.Acceptance criteria:
composer server import <URL>/<PATH>
, with the URL being an export URL from the Altis Dashboard.The text was updated successfully, but these errors were encountered: