silverstripe / sspak

Tool for managing bundles of db/assets from Silverstripe environments
http://silverstripe.github.io/sspak/
BSD 3-Clause "New" or "Revised" License
47 stars 34 forks source link

Assets directory deleted using load command from one environment to another. #55

Closed dmc-core closed 7 years ago

dmc-core commented 7 years ago

Saw an issue yesterday restoring a saved snapshot on a test environment, where our production assets directory was deleted as a result of running sspak load /tmp/snapshot.sspak /path/to/test from within the prod webroot. Have managed to replicate this using the following steps....

  1. Goto /path/to/webroot_1/
  2. Run `sspak load /path/to/snapshot.sspak /path/to/webroot_2
  3. Results in /path/to/webroot_1/assets directory being deleted.

Expects that you will have an sspak file already, and 2 instances running from the same environment (to state the obvious).