You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
roll restore --force works on a stopped environment. The restore only ran roll env down
when one of the environment's containers was running. Docker refuses to remove a volume that any
container references, stopped ones included, so a stopped environment kept every volume in use
and the restore died on the first one. stopEnvironment in utils/backup.sh now takes the
environment down whenever it has containers, running or stopped, and passes --remove-orphans,
so containers of services the current .env.roll no longer enables are removed as well; volumes
are kept. roll restore-full shares the change.
A volume roll restore --force cannot remove now stops the restore with a reason. The docker volume rm result was never checked, so under roll's errexit the restore ended right after Removing existing volume: … with exit 1 and no error message. It now prints Docker's error and
the containers still holding the volume, then exits 1 without writing into it. Volumes restored
earlier in the same run keep their new contents.
roll restore --dry-run no longer stops the environment.stopEnvironment ran roll env down before any dry-run check, so a preview of a running environment took it down. It now only
reports that the environment would be stopped; roll restore-full --dry-run shares the change.