Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/deryeger/wsl-backup
- Owner: DerYeger
- License: bsd-3-clause
- Created: 2021-09-10T13:54:32.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-11T11:02:21.000Z (over 3 years ago)
- Last Synced: 2024-10-28T20:48:43.179Z (about 2 months ago)
- Topics: haskell, wsl, wsl2
- Language: Haskell
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
wsl-backup
Helper script for creating backups of WSL distributions.## 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