Is there an "easy" way to quick export a project?
Hi, I'm a new Laragon user. I was using Locals but now all that simplifications are not good to me.
One thing that I've loved of Locals was the ability to export a website (files+sql) and import it in another locals installation.
I used to work on two machine so this was a really handy feature.
I'm not afraid to use cmd line tool but the question is:
Is there a .bat, a command to export a wp website file and sql (maybe gzipped) and than import it without export the first the sq and then zip the www folder?
thank you in advance
@PsyPeke Just 2 commands:
Assume your project is located in: C:\laragon\www\my-project
and your database is
- Open Terminal Laragon > Terminal
- Dump MySQL:
mysqldump.exe my-project-db > C:\laragon\www\my-project
- Create gzipped stuff:
tar cvzf my-project.tgz C:\laragon\www\my-project
By the way, normal Laragon users don't need to do the above stuffs because they just copy the whole C:\laragon folder to another machine and that's all.