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.
tsmpipe/README.md

36 lines
1.4 KiB
Markdown
Raw Normal View History

2016-07-07 05:17:44 +00:00
# About
2016-08-26 01:26:00 +00:00
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!)
2016-07-07 05:17:44 +00:00
2016-08-26 01:29:42 +00:00
Restoring data, is the reverse step, restoring directly back to the application from Spectrum Protect.
2016-08-26 01:26:00 +00:00
# Using
2016-07-07 05:17:44 +00:00
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```
2016-08-26 01:26:00 +00:00
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
2016-07-07 05:17:44 +00:00
For help, use tsmpipe -h
2016-08-26 01:26:00 +00:00
To test that you can connect to TSM, use tsmpipe -i