Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deryeger/wsl-backup

Helper script for creating backups of WSL distributions.
https://github.com/deryeger/wsl-backup

haskell wsl wsl2

Last synced: 8 days ago
JSON representation

Helper script for creating backups of WSL distributions.

Awesome Lists containing this project

README

        

wsl-backup


Helper script for creating backups of WSL distributions.



CI


GitHub release (latest by date)


BSD-3-Clause

## Installation

Compiled binaries can be found [here](https://github.com/DerYeger/wsl-backup/releases/latest).

## Usage

The script can be used from the directory of the `wsl-backup.exe` file with the following command, where `directory` is the target directory and `distro` is the name of an installed WSL distribution.

```bash
wsl-backup [directory [distribution]]
```

If `distribution` is omitted, all installed distributions will be exported.
If `directory` is omitted, users are prompted to enter a directory.

### Examples

```bash
wsl-backup D:\backup Ubuntu-20.04
```

```bash
wsl-backup \\nas\backups
```

### Scheduled backups

Backups can be scheduled using [Task Scheduler](https://www.windowscentral.com/how-create-automated-task-using-task-scheduler-windows-10).

## License

[BSD-3-Clause](./LICENSE) - Copyright © Jan Müller