Skip to content

Add mention about disk size when syncing 2 environments #1373

Open
@nicogommen

Description

@nicogommen

When doing a sync between 2 environments with the CLI.
If:

  • sizing_api_enabled=true on the project
  • sync includes data

We should add some wording before the confirmation question to mention that the disk size might be synced too:

Replacing data will also sync the disk size if {target-env} has a lower disk size. This will ensure enough disk to complete the sync.

For instance, when doing upsun sync -e staging data on a project, we would show something like this:

Replacing data will also sync the disk size if staging has a lower disk size. This will ensure enough disk to complete the sync.
Are you sure you want to synchronize data from main to staging? [Y/n]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions