Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fast backup #37

Open
hkirsman opened this issue Dec 28, 2023 · 0 comments
Open

Fast backup #37

hkirsman opened this issue Dec 28, 2023 · 0 comments

Comments

@hkirsman
Copy link

I'm working on this custom tooling that can do backup super quick. In sql size I have about 1.8 GB file and it takes about 4 minutes to import file with lando db-import .

With the new way, it takes 9.3 seconds... but it needs to restart database container and I don't know how. Only way to restart it atm is restarting Lando which make the total database restoration 9.3+21=30.3 seconds.

This is PR I'm working on wunderio/lando-drupal#45 (It's PR in our custom Composer package do ship .lando.base.yml file together with some scripts. ) But as you can see from the PR, it's quite straight-forward setup.

  1. Is there way to restart db? In the PR I did try something but I don't know how to start it again?
  2. Could you implement this into Lando? This seems be be one big advantage of DDEV atm over Lando.
@pirog pirog transferred this issue from lando/lando Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants