TSMPIPE, a STDOUT/STDIN backup/archive client for Tivoli Storage Manager (TSM) or now known as IBM Spectrum Protect. This client enables you to pipe output out of an application, directly into Spectrum Protect without using the BA Client.
This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2016-08-26 11:26:00 +10:00
lib Fixed #1; Added purge option 2016-07-07 15:00:21 +10:00
scripts Added table locking to mysql during backup 2015-07-17 21:56:09 +10:00
test Updated README 2016-08-26 11:26:00 +10:00
.gitlab-ci.yml Change gitlab runner config to only run on master 2016-06-23 22:43:33 +10:00
LICENSE Enabled gitlab runner 2016-06-23 17:32:31 +10:00
Makefile.linux32 Enabled Digest calculations for data going to TSM - useful for verification 2013-11-07 18:06:56 +11:00
Makefile.linux64 Fixed compile on c7, use of __func__, output of list 2015-09-23 11:36:02 +10:00
README.md Updated README 2016-08-26 11:26:00 +10:00
tsmpipe.c Fixed #1; Added purge option 2016-07-07 15:00:21 +10:00
tsmpipe.h Fixed #1; Added purge option 2016-07-07 15:00:21 +10:00

About

TSMPIPE is a Tivoli Storage Manager (TSM) or now known as Spectrum Protect client, that enables you to take data from STDIN and store that in TSM as a BACKUP or ARCHIVE object. By using this client, you dont need to do a dump to disk process, followed by using the Spectrum Protect Backup Archive Client. (So no more consuming disk space with old dumps!)

Restoring data, is the reverse step, restoring direclty back to the application from Spectrum Protect.

Using

In its simplest form, you can cat myfile.ext | tsmpipe -c [MORE OPTIONS]

Or, where an application supports "dumping" to STDOUT, you can pipe that dump into TSMPIPE. myappdump | tsmpipe -c [OPTIONS]

Getting data back is the reverse tsmpipe -x [MORE OPTIONS] > myfile

Or, back to your application tsmpipe -x [MORE OPTIONS] | myapp

This client can also calculate a digest while backuping up data (like MD5, SHA1, etc) - so that you can verify that the dump out of the application matches what goes into Spectrum Protect. For example:

myappdump > file
md5sum file
cat file | tsmpipe -cBs /example/ -f file -m md5
tsmpipe -xBs /example/ -f file > file2
md5sum file2

The MD5 calculation should match in all cases - including the MD5 printed by tsmpipe. See the build test script for more details.

Help

For help, use tsmpipe -h To test that you can connect to TSM, use tsmpipe -i