vmware-archive / cfops

This is simply an automation that is based on the supported way to back up Pivotal Cloud Foundry
http://www.cfops.io
Apache License 2.0
35 stars 24 forks source link

cfops should not remove bosh-deployments.yml by default #61

Closed mkuratczyk closed 8 years ago

mkuratczyk commented 8 years ago

Hi. cfops restore removes the bosh-deployments.yml file by default to ensure a fresh state. This causes problems if cfops restore is used to load settings into a new Ops Manager during upgrade. The import succeeds and OpsManager shows all the tiles and VMs correctly but then attempts a fresh install when changes are applied. I think cfops should not remove this file by default. Instead a --force or similar flag could be used or simply a warning printed to the console to delete this file if you still run into problems.

Thank you,

xchapter7x commented 8 years ago

recent commit adds this functionality. the user will need to explicitly add a clear-bosh-manifest flag

expect this to be in the next release (likely next week sometime)

xchapter7x commented 8 years ago

https://github.com/pivotalservices/cfops/releases/tag/v2.1.15