Snapshot is very fast way of creating db backup in ddev. Can we implement this in Lando?
Specs
snapshots should be saved to .lando/db_snapshots (in ddev these are saved to ..dev/db_snapshots)
lando snapshot will generate automatic name from db and date and mariadb version eg d9_20220107124831-mariadb_10.3
lando snapshot --name "foobar" will generate similar name but date part is replaced with foobar eg d10_foobar-mariadb_10.3
-lando snapshot restore d9_20220107124831 will restore the existing snapshot.
-lando snapshot restore will restore the latest snapshot.
snapshot will be using mariabackup tool to do the fast backups. This needs to be installed to database container
Snapshot is very fast way of creating db backup in ddev. Can we implement this in Lando?
Specs
lando snapshot
will generate automatic name from db and date and mariadb version egd9_20220107124831-mariadb_10.3
lando snapshot --name "foobar"
will generate similar name but date part is replaced with foobar egd10_foobar-mariadb_10.3
-lando snapshot restore d9_20220107124831
will restore the existing snapshot. -lando snapshot restore
will restore the latest snapshot.