TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:tmss10expiredrstrategies

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cli:tmss10expiredrstrategies [2019/02/25 00:02] Scott Cunliffecli:tmss10expiredrstrategies [2025/07/04 04:44] (current) – [Example] Scott Cunliffe
Line 1: Line 1:
 ====== TMSS10ExpireDRStrategies ====== ====== TMSS10ExpireDRStrategies ======
 +
 +TMSS10ExpireDRStrategies will delete (or depreciate) all expired Disaster Recovery strategies within the specified date range.
  
 ===== Synopsis ===== ===== Synopsis =====
  
 ''TMSS10ExpireDRStrategies   [-C customer filter] [-D description filter] [-R date range] [-S logon string] [-d depreciate] [-t test mode]'' ''TMSS10ExpireDRStrategies   [-C customer filter] [-D description filter] [-R date range] [-S logon string] [-d depreciate] [-t test mode]''
- 
-===== Description ===== 
- 
-TMSS10ExpireDRStrategies will delete (or depreciate) all expired Disaster Recovery strategies within the specified date range. 
  
 ===== Options ===== ===== Options =====
  
-  * ''-C'' Customer ID filter. +  * ''-C'' [[object:customer|Customer-ID]] filter. 
   * ''-D'' Description filter.   * ''-D'' Description filter.
   * ''-R'' Expiry date range.   * ''-R'' Expiry date range.
-  * ''-S'' The logon string argument sets the [[cli:server_argument|Server logon information]]. +  * ''-S'' The Logon string argument sets the [[cli:server_argument|Server Logon Information]]. 
-  * ''-d'' Depreciate disaster recovery strategy rather than delete.+  * ''-d'' Depreciate Disaster Recovery Strategy rather than delete.
   * ''-t'' Run in test mode, no updates performed.     * ''-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 ====
Line 37: Line 39:
 ===== Example ===== ===== Example =====
  
-=== Headline === 
  
-Configuration file to load to create Customer ID: 0001, Customer Description: ACME, with two media types Media ID: LTO, Media Description: LTO Cartridge and Media ID: 3490, Media Description: IBM 3490 Cartridge.  Along with two repositories Repository ID: LIBR, Repository Description: Library, Repository Type: 1, Next Repository: OFFS and  Repository ID: OFFS, Repository Description: Iron Mountain, Repository Type: 2 and Next Repository: LIBR.+=== Command line syntax ===
  
-<sxh> +  TMSS10ExpireDRStrategies -S user:-password@server -C "US02-R "M-1:m-1-d true
-setup= +
-+
-   customers= +
-   ( +
-      {  +
-          id="0001"; description="ACME Computers";+
  
-          media= +=== Output ===
-          ( +
-             {  +
-                 id="LTO"; description="LTO Cartridge";+
  
-                 repositories= +  ZBT001N-12:58:04 TMSS10ExpireDRStrategies (c) GazillaByte 1998-2017 
-                 +  ZBT002N-12:58:04 Compiled Jul  4 2017 at 19:58:38 
-                     { id="LIBR"; description="TS3500 Library"; type=1; }, +  ZBT010I-12:58:04 this program will delete all expired Disaster Recovery Strategies 
-                     { id="OFFS"; description="Iron Mountain"; type=2; } +  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 
-                 id="3490"; description="IBM 3490 Cartridge";+  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-
 +  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.1successful 
 +  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 TuesdayNovember 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
  
-                 repositories= +===== See Also=====
-                 ( +
-                     { id="LIBR"; description="TS3500 Library"; type=1; next="OFFS"; }, +
-                     { id="OFFS"; description="Iron Mountain"; type=2; next="LIBR";+
-                 ) +
-                 +
-          ) +
-      }, +
-      {  +
-          id="0002"; description="Bond Corporation";+
  
-          media= +[[technote/command_line_diagnosis|Command Line Utility Troubleshooting and Diagnosis]]
-          ( +
-             {  +
-                 id="LTO"; description="LTO Cartridge";+
  
-                 repositories= +--> Changelog
-                 ( +
-                     { id="LIBR"; description="TS3500 Library"; type=1; }, +
-                     { id="OFFS"; description="Iron Mountain"; type=2; } +
-                 ) +
-             }, +
-             {  +
-                 id="3490"; description="IBM 3490 Cartridge"; +
- +
-                 repositories= +
-                 ( +
-                     { id="LIBR"; description="TS3500 Library"; type=1; }, +
-                     { id="OFFS"; description="Iron Mountain"; type=2; } +
-                 ) +
-                 +
-          ) +
-      } +
-   ); +
-}; +
-</sxh> +
- +
-=== Command line syntax === +
- +
-<sxh plain;> +
-TMSS10ExpireDRStrategies -S user:-password@server -C "US02" -R "M-1:m-1" -d  +
-</sxh> +
- +
-=== Output === +
- +
-<sxh plain;> +
-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 +
-</sxh> +
- +
-===== Changelog =====+
  
 [filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10ExpireDRStrategies] [filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10ExpireDRStrategies]
 +<--
 <- ^ cli:introduction|Command Line Utilities^ -> <- ^ cli:introduction|Command Line Utilities^ ->
cli/tmss10expiredrstrategies.1551052960.txt.gz · Last modified: 2025/01/21 22:07 (external edit)