Wsl Cheatsheet

Backup wsl

wsl --export (distribution) (file path)
wsl --export Ubuntu "C:\Users\joaoc\Documents\Linux backups\ubuntubackup.tar"
wsl --export Ubuntu-Dev  "D:\Documents\Backups\Ubuntu-Dev.tar"

wsl shutdown

wsl --shutdown