In WSL, drive C windows is mounted in /mnt/c , drive D in /mnt/d etc.

let say, if i want to backup my raspberry pi storage file , so i can use rsync to backup my file in drive c or drive d using wsl

sudo apt update
sudo apt install rsync -y
ssh-keygen -t rsa -b 4096
ssh-copy-id [email protected]
rsync -avz --progress [email protected]:/home/pi/ /mnt/d/backup_rpi/