Skip to content

Add import feature to sync a cloud environment to local server #481

@roborourke

Description

@roborourke

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:

  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    should haveShould be done, medium priority for nowux

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions