Zum Inhalt springen

WSL Backup - Restore

Aus Computech CMS Wiki
wsl --status
wsl --export Ubuntu ubuntu.tar
wsl --import UbuntuApache .\UbuntuApache .\ubuntu_20_04.tar --version 1
wsl -d UbuntuApache
wsl -d UbuntuApache -u root


WSL Terminate

wsl --terminate UbuntuApache


WSL Restart

sudo killall -r '.*'


change Hostname:

sudo hostname HOSTNAME

DNS Richtig setzen

sudo nano /etc/resolv.conf folgende DNS Server ergänzen

nameserver 192.168.10.11
nameserver 1.1.1.1