TMSS10ExpireDRStrategies will delete (or depreciate) all expired Disaster Recovery strategies within the specified date range.
TMSS10ExpireDRStrategies [-C customer filter] [-D description filter] [-R date range] [-S logon string] [-d depreciate] [-t test mode]
-C
Customer-ID filter. -D
Description filter.-R
Expiry date range.-S
The Logon string argument sets the Server Logon Information.-d
Depreciate Disaster Recovery Strategy rather than delete.-t
Run in test mode, no updates performed.
If an argument value starts with the value FI:
, the value for that attribute will be read from the file name specified immediately after it. For example, if a file named ACME_volumes has the content ACME_*.*
, specifying FI:/etc/ACME_volumes
will have the same effect as -V ACME.*.*
. Using FI:
to refer to a file for an attribute value works for all attributes.
If the pattern being matched starts with *LIST: then rather than matching the literal value, each record in the file specified as *LIST:filename will be tested. If one matches the match will succeed.
The TapeTrack Software is commercially supported by a full time help desk staff.
If you are experiencing problems or want some advice on how to configure or use the product please see the Accessing Technical Support page.
stdout: Output Reports.
stderr: Diagnostic messages.
stdin: Program input.
TMSS10ExpireDRStrategies -S user:-password@server -C "US02" -R "M-1:m-1" -d true
ZBT001N-12:58:04 TMSS10ExpireDRStrategies (c) GazillaByte 1998-2017 ZBT002N-12:58:04 Compiled Jul 4 2017 at 19:58:38 ZBT010I-12:58:04 this program will delete all expired Disaster Recovery Strategies ZBT006N-12:58:04 Running Under Windows 10 (build 15063 10.00) on platform x64 ZBT000N-12:58:04 Host is Little Endian ZBT000N-12:58:04 Host is ASCII ZBT000N-12:58:04 Binary is 64 bit ZBT000N-12:58:04 Current Working Directory is C:\Users\GazillaByte\TapeTrack ZBT004N-12:58:04 Today is Tuesday, November 21, 2017 ZBT005N-12:58:04 Running on Production ZBT006N-12:58:04 Process ID 18120 ZBT000N-12:58:04 Parsing and validating command arguments ZBT001N-12:58:04 Server Interpreted as: Server(localhost) Port(5000) User(user) Password(******) ZBT000N-12:58:04 Explicit date range requested as: M-1:m-1 ZBT000N-12:58:04 Start date interpreted as: Sunday, October 01, 2017 ZBT000N-12:58:04 End date interpreted as: Tuesday, October 31, 2017 ZBT000N-12:58:04 Days apart: 31 ZBT000N-12:58:04 Checking for Environment Variable 'ESPDATERANGEOFFSETFILE' ZBT002N-12:58:04 Program Options: ZBT002N-12:58:04 (C) Customer Filter=US02 ZBT002N-12:58:04 (D) Description Filter=* ZBT002N-12:58:04 (R) Expiry Date Range=M-1:m-1 ZBT002N-12:58:04 (S) Server=<VALUE HIDDEN> ZBT002N-12:58:04 (d) Depreciate rather than delete=true ZBT002N-12:58:04 (t) Test Mode (no updates)=false ZBT000N-12:58:04 Arguments parsed and validated with 0 errors ZBT000N-12:58:04 Checking for environment variable TMSSSERVERPROXY ZBT000N-12:58:04 Connection to server (127.0.0.1) successful ZBT000N-12:58:04 Logging on to TapeTrack Server ZBT000N-12:58:04 Registering Client at MACID(00:8c:fa:8e:02:f5:00:00) Result(Request OK) ZBT000N-12:58:04 Last Logon was at Tuesday, November 21, 2017 - 12:58:04 from 127.0.0.1 ZBT000N-12:58:04 Welcome to Server: Production ZBT000N-12:58:04 Listing Customers ZBT000N-12:58:04 Customer List successful: Customers(10) Excluded(0) ZBT000N-12:58:04 Processing Customer: US02-Los Angeles Data Center (325/1) ZBT000N-12:58:04 Candidate Strategy(LA Recovery Data) Expiry(Monday, October 02, 2017) ZBT000N-12:58:04 Depreciation Result: Request OK ZBT000N-12:58:04 Candidate Strategy(LA Weekly Recovery) Expiry(Thursday, October 26, 2017) ZBT000N-12:58:04 Depreciation Result: Request OK ZBT000N-12:58:04 Closing connection to TapeTrack Server ZBT000N-12:58:04 Session Statistics: ZBT000N-12:58:04 Seconds Connected: 0 ZBT000N-12:58:04 Queries Completed: 9 ZBT000N-12:58:04 Bytes Sent: 700 ZBT000N-12:58:04 Bytes Received: 1,484 ZBT900N-12:58:04 Program Complete ZBT901N-12:58:04 Elapsed time 0 minutes and 0 seconds ZBT991N-12:58:04 CRC values for this session: 0x7c0fb0bb (0xddfde9c5) ZBT992N-12:58:04 Number of records written: 47 ZBT993N-12:58:04 Number of bytes written: 2,693 ZBT999N-12:58:04 Program ended