lando composer require wunderio/lando-drupal:dev-feature/44-Implement-ddev-snapshot-tooling-in-Lando --dev
lando rebuild -y
Create snapshots:
# Create named snapshot.
lando snapshot --name foobar
# Create snapshot with timestamp.
lando snapshot
Restore snapshot. Not sure how to start db container again. It can be done manually with lando restart, but that's not ideal. Then again if we you win 10 minutes of time, then maybe it's ok. Let's create feature request in Lando
# Restore the snapshot named foobar
lando snapshot restore foobar
lando restart
Overview
This is work in progress and experiment to get this https://ddev.readthedocs.io/en/latest/users/usage/cli/#snapshotting-and-restoring-a-database into Lando
Setup
Restore snapshot. Not sure how to start db container again. It can be done manually with lando restart, but that's not ideal. Then again if we you win 10 minutes of time, then maybe it's ok. Let's create feature request in Lando