Copy event/raw data to tape (Utility)

Copy event/raw data to tape (Utility)

The Sentinel family documentation provides instructions on how to copy data to sequential storage media such as magnetic tapes.


This script does part of that and a few more things:


1. checks the raw data file checksums against what is stored in the database


2. creates and stores the checksum of the files in a log so we can make sure they've been wholly restored later on


3. uses hard links to the files so the archival takes up minimal space


4. the I/O and CPU intensive parts are throttled with nice and ionice so they won't compete with Sentinel for resources.


issues:


1. only ever copies data for a single day


2. the name is not the best


3. if you deploy it multiple times a config file may be a better approach than putting the variables in the script


4. there is no feedback between the program actually dumping the data to tape and this script


5. no cleanup, what this copies remains there indefinitely - this isn't something you want


 



NetIQ does not test or validate any software, code or other materials provided in, on or through NetIQ Cool Solutions (collectively, "Materials"), so please use caution when downloading or accessing any Materials from Cool Solutions and ensure that you have reasonable and current security, spyware and anti-virus measures in place on your computer and/or network prior to downloading. Additionally, do not use any Materials downloaded from Cool Solutions in any production environment without first testing the Materials to ensure they are compatible with your version of NetIQ software or any other hardware or software present in your network or environment. Cool Solutions is not a substitute for authorized NetIQ support and should not be used as such. NETIQ COOL SOLUTIONS AND ANY MATERIALS ARE PROVIDED ON AN AS-IS, AS-AVAILABLE BASIS WITHOUT ANY WARRANTY OF ANY KIND. By downloading this file, you are agreeing to these terms of use. To report a problem please contact: coolguys-netiq@netiq.com. Your use of Cool Solutions is governed by the Cool Solutions Terms and Conditions. https://www.netiq.com/communities/coolsolutions/terms-and-conditions/
Attachments

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2012-08-07 11:40
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.