Next revision | Previous revision |
cli:tmss10expiredrstrategies [2017/11/21 01:42] – created Scott Cunliffe | cli:tmss10expiredrstrategies [2025/01/21 22:07] (current) – external edit 127.0.0.1 |
---|
====== TMSS10ExpireDRStrategies ====== | ====== TMSS10ExpireDRStrategies ====== |
| |
===== Synopsis ===== | TMSS10ExpireDRStrategies will delete (or depreciate) all expired Disaster Recovery strategies within the specified date range. |
| |
''TMSS10ExpireDRStrategies [-R date range] [-S logon string] [-V volume filter]'' | ===== Synopsis ===== |
| |
===== Description ===== | ''TMSS10ExpireDRStrategies [-C customer filter] [-D description filter] [-R date range] [-S logon string] [-d depreciate] [-t test mode]'' |
| |
TMSS10ExpireDRStrategies | |
| |
===== Options ===== | ===== Options ===== |
| |
* ''-R'' Specifies the date range. | * ''-C'' [[object:customer|Customer-ID]] filter. |
* ''-S'' The logon string argument sets the [[cli:server_argument|Server logon information]] | * ''-D'' Description filter. |
* ''-V'' [[cli:volume_filter|Volume Filter]] which can be used to filter the traversal of Customer, Media, Volume, repository and flag values. | * ''-R'' Expiry date range. |
| * ''-S'' The Logon string argument sets the [[cli:server_argument|Server Logon Information]]. |
| * ''-d'' Depreciate Disaster Recovery Strategy rather than delete. |
| * ''-t'' Run in test mode, no updates performed. |
| |
| {{page>cli:fi}} |
==== Technical Support ==== | ==== Technical Support ==== |
| |
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 [[common:support_details|Accessing Technical Support]] page. | 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 [[common:support_details|Accessing Technical Support]] page. |
| |
==== Exit Statuses ==== | ==== Exit Statuses ==== |
| |
===== Example ===== | ===== Example ===== |
| |
| |
=== Command line syntax === | === Command line syntax === |
<code> | |
| |
</code> | TMSS10ExpireDRStrategies -S user:-password@server -C "US02" -R "M-1:m-1" -d true |
=== Output === | === Output === |
<code> | |
| |
| 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 |
| |
</code> | |
| |
| --> Changelog |
| |
<- cli:introduction|Command Line Utilities^ master:starting|Getting Started ^ -> | [filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10ExpireDRStrategies] |
| <-- |
| <- ^ cli:introduction|Command Line Utilities^ -> |