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

https://github.com/KNOXDEV/scoop-backup

Backup your entire current scoop installation with one command
https://github.com/KNOXDEV/scoop-backup

scoop

Last synced: 5 months ago
JSON representation

Backup your entire current scoop installation with one command

Awesome Lists containing this project

README

        

# scoop-backup (archived)

> **Warning**: This package was originally created before the addition of `scoop import`
> and `scoop export` to the main scoop executable. I suggest you use that functionality
> instead of this package, although you can still install and use it using the instructions
> below.

Additional functionality for the [Scoop Package Manager](https://scoop.sh).

Backup your entire current scoop installation with one command:

```powershell
scoop-backup
```

This produces the compressed backup `scoop-backup\backups\backup-YYMMDD.ps1`, which can now be executed on any Windows computer to restore your entire Scoop installation, including all buckets and apps.

scoop-backup can be installed via, you guessed it, scoop, via the [knox-scoop bucket](https://github.com/KNOXDEV/knox-scoop):

```powershell
scoop bucket add knox-scoop https://github.com/KNOXDEV/knox-scoop
scoop install scoop-backup
```

## use cases
* Backing up a computer's software for easy reinstallation
* Deploying an identical scoop-based installation to many computers
* Syncing configurations between two personal computers for an effortless, uniform experience

## options

Save to a different folder:
```powershell
scoop-backup .\path\to\folder\
```

Save backup as a compressed batch file:
```powershell
scoop-backup --compress
# >> "output-folder\backup.bat"
```

## ~~future plans~~

* ~~Implement a strategy for backing up the persistence directory. For many apps, this is trivial (ccleaner), but others pose a significant challenge (jetbrains-toolbox).~~