scale-catalog/README.md

50 lines
1.5 KiB
Markdown
Raw Normal View History

2022-01-19 20:14:09 +00:00
# truetool
A easy tool for frequently used TrueNAS SCALE CLI utilities.
Previously known as "trueupdate"
2022-01-16 15:15:58 +00:00
## How to install
2022-01-19 20:14:09 +00:00
run `pip install truetool`
2022-01-16 15:15:58 +00:00
Please be aware you will need to reinstall after every SCALE update
## How to Update
2022-01-19 20:14:09 +00:00
run `pip install --upgrade truetool`
2022-01-16 15:15:58 +00:00
## How to use
running `truetool` should be a good start.
2022-01-16 15:15:58 +00:00
Additional options are available:
2022-01-19 21:16:04 +00:00
### Help
- `truetool -h` for the CLI help page
2022-01-19 21:16:04 +00:00
### Update
2022-01-19 21:16:33 +00:00
- `truetool -u` or ` truetool --update` updates TrueNAS SCALE Apps
2022-01-19 20:14:09 +00:00
- `truetool --catalog CATALOGNAME` where CATALOGNAME is the name of the catalog you want to process in caps
- `truetool --versioning SCHEME` where SCHEME is the highest semver version you want to process. options: `patch`, `minor` and `major`
- `truetool -a` or ` truetool --all` updates both active (running) and non-active (stuck or stopped) Apps
2022-01-19 20:00:14 +00:00
2022-01-19 21:16:04 +00:00
### Backup
- `truetool -b` or ` truetool --backup` backup the complete Apps system prior to updates. Deletes old backups prior, number of old backups can be set, 14 by default
- `truetool -r` or ` truetool --restore` restores a specific backup by name
- `truetool -d` or ` truetool --delete` deletes a specific backup by name
2022-01-20 15:00:41 +00:00
### Other
- `truetool -s` or ` truetool --sync` to sync the catalogs before running updates
2022-01-20 15:00:41 +00:00
- `truetool -p` or ` truetool --prune` to prune (remove) old docker images after running auto-update
### Important note
Please use the above arguments seperatly, combining them might not work as you would expect.
So use: `truetool -u -b -p -s -a`
not: `truetool -ubpsa`