An easy utility to managed frequently used TrueNAS SCALE CLI features
Project description
truetool
A easy tool for frequently used TrueNAS SCALE CLI utilities. Previously known as "trueupdate"
How to install
run pip install truetool
Please be aware you will need to reinstall after every SCALE update
How to Update
run pip install --upgrade truetool
How to use
running truetool
should be a good start.
Additional options are available:
Help
truetool -h
for the CLI help page
Update
-
truetool -u
ortruetool --update
updates TrueNAS SCALE Apps -
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
andmajor
-
truetool -a
ortruetool --all
updates both active (running) and non-active (stuck or stopped) Apps
Backup
truetool -b
ortruetool --backup
backup the complete Apps system prior to updates. Deletes old backups prior, number of old backups can be set, 14 by defaulttruetool -r
ortruetool --restore
restores a specific backup by nametruetool -d
ortruetool --delete
deletes a specific backup by name
Other
truetool -s
ortruetool --sync
to sync the catalogs before running updatestruetool -p
ortruetool --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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file truetool-3.0.3.tar.gz
.
File metadata
- Download URL: truetool-3.0.3.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5e9a9267391f74fa80b06486f0c35369c71d36c41ec336f77c49280e3f6266e |
|
MD5 | 6b83b32a926b5ebcbd0921ba09d70df7 |
|
BLAKE2b-256 | 8a2446db45d47d3d4eb22be2c1da97518c339d1c3db775a6b24b0339ab9eec34 |
File details
Details for the file truetool-3.0.3-py3-none-any.whl
.
File metadata
- Download URL: truetool-3.0.3-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f170accaec72740d13a55ae3a9f38feadb5a0685b3d4929df7599d1cc8c4740f |
|
MD5 | b2f4fd332f477a4f1df417b4c79a3a8e |
|
BLAKE2b-256 | 0abaa9389d122c19973220bf8b8ea6067bca8ae89f7c9acf49cf51776dcc45e0 |