CLI utility that allows to backup Targetprocess resources.
You can install the utility with the following command if you have
cargo
installed:
cargo install tpbackup
This utility cycles through all or some of Targetprocess resources and backs up each type of resource into a separate JSON file. It also provides an option to package these JSON files into a single tarball.
Backup to a folder:
tpbackup backup -u user -p password --host example.tpondemand.com
Backup to a tar.gz archive:
tpbackup backup -u user -p password --host example.tpondemand.com --compress
Backup to stdout:
tpbackup backup -u user -p password --host example.tpondemand.com --stdout
Backup a subset of the resources
tpbackup backup -u user -p password -r UserStories,Bugs --host example.tpondemand.com
Output a list of default resources
tpbackup resources
For additional configuration options, run:
tpbackup help backup