I pull the Github repo to Windows instead of inside the WSL2 distro. It is so slow that makes development almost impossible.
Anyone has experience of moving everything from Windows to WSL2 Linux?
Edit:
I tried the following:
- Delete the containers which created from Windows frappe_docker folder. I didn’t delete the
frappe_docker_devcontainer_mariadb-datavolume. - On WSL2 Ubuntu, pull the frappe docker repo, and start
vscode .
The containers will be recreated, but how can I bring back the sites?
Should I use bench --site {site} backup and bench --site {site} restores {path/to/database/file} for backup and restore my site data?
If I use backup/restore, the site data, does that mean I don’t need to use bench new-site {site} to recreate the sites?
Or if I run bench --site {site} restores in my newly created containers, the site will be restored inside frappe-bench/sites folder?
I think this is crucial if I need to move my development between computers.