platformsh/legacy-cli

Add mention about disk size when syncing 2 environments

Opened this issue · 0 comments

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]