Developer Hub Learning Paths Laptops and Desktops Get started with Windows Subsystem for Linux (WSL) on Arm Backup a WSL filesystem

Backup a WSL filesystem

beta
Get started with Windows Subsystem for Linux (WSL) on Arm
Introduction
Configure and run WSL with various Linux distributions
Run graphical Linux applications
Enable systemd in WSL
Use SSH to connect to WSL
Connect to WSL using RDP and VNC
Developing with VS Code on WSL
Import file systems into WSL
Backup a WSL filesystem
Review
Next Steps

  Log an issue

  Fork and edit

  Discuss on Discord

Get started with Windows Subsystem for Linux (WSL) on Arm

Introduction

Configure and run WSL with various Linux distributions

Run graphical Linux applications

Enable systemd in WSL

Use SSH to connect to WSL

Connect to WSL using RDP and VNC

Developing with VS Code on WSL

Import file systems into WSL

Backup a WSL filesystem

Review

Next Steps

Backup WSL to a file

Use the export command to save the state of a WSL instance.

    

        
        
            wsl --export Ubuntu-22.04 ubuntu-backup.tar
        
    

The tar file can be copied and imported to the same machine or to another machine.

Back
Next