From beef7a7196c582db209d87b8e4855717cdc3a6ea Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 26 Aug 2016 11:26:00 +1000 Subject: [PATCH] Updated README --- README.md | 22 ++++++++++++++++++++-- test/test.sh | 4 ++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a09c744..3dee839 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # About -TSMPIPE is a Tivoli Storage Manager client, that enables you to take data from STDIN and store that in TSM as a BACKUP or ARCHIVE object. +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]``` @@ -13,5 +17,19 @@ Getting data back is the reverse 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 \ No newline at end of file +To test that you can connect to TSM, use tsmpipe -i diff --git a/test/test.sh b/test/test.sh index 8cfc528..71258d6 100755 --- a/test/test.sh +++ b/test/test.sh @@ -83,11 +83,11 @@ else fi # Purge the last one -echo "+ ARCHIVE: DELETE!" +echo "+ ARCHIVE: DELETE!" ${TSMPIPE} -Ads /test -f ${FILE} -n ${DATE} ${VERBOSE} -O"${TSMOPT}" # List it -echo "+ ARCHIVE: LIST FILE AFTER DELETE!" +echo "+ ARCHIVE: LIST FILE AFTER DELETE!" ${TSMPIPE} -Ats /test -f ${FILE} -O"${TSMOPT}" echo "+++ END ARCHIVE ++++!"