Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Add cross-site restore functionality to the team CLI #193

@cagrimmett

Description

@cagrimmett

Pressable API: https://my.pressable.com/documentation/api/v1#site-cross-restores

Maybe something like this:
team51 pressable:cross-restore --from=SITEID --to=SITEID --filesystem --database

--from and --to are necessary, and at least one of --filesystem or --database are required.

For extra protection, maybe fail if there is a domain mapped to the restore-to site?

After the restore (which will take some time depending on the site), we should do what we do for development site cloning: Set the environment variable to staging, then install SafetyNet as a mu-plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions