#backup #backup-utility #resources #user-password #tarball #json #targetprocess

app tpbackup

CLI utility that allows to backup Targetprocess resources

3 unstable releases

0.2.2 Sep 12, 2023
0.2.1 Aug 28, 2023
0.2.0 Aug 25, 2023
0.1.0 Aug 18, 2023

#227 in Compression

43 downloads per month

MIT license

21KB
482 lines

Targetprocess Backup Utility

CLI utility that allows to backup Targetprocess resources.

asciicast

Installation

You can install the utility with the following command if you have cargo installed:

cargo install tpbackup

Usage

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

Dependencies

~18–35MB
~539K SLoC