tapecopy - Database Query Options

The database query options let you select source sessions based on specific attributes. When you specify a database option, the database is queried and all of the sessions that meet the search criteria become source sessions for tapecopy. One or more of these switches can be used to specify a complex query.

By default, the tapecopy operation copies all sessions that the query finds to one tape in the destination group. The tapecopy looks for a blank tape in the destination group and formats it with the tape name as mm/dd/yyyy-hh:mm.

The tapecopy command includes the following query options:

tapecopy  
[-qType <Backup Session Type>]
[-qMethod <Backup Session Method>]
[-qNode <Backup Session Node>]
[-qOnOrBefore <MM/DD/YYYY> [<hh:mm>]]
[-qOnOrAfter <MM/DD/YYYY> [<hh:mm>]]
[-qMID <Master Job Number>]
[-qJobNo <Job No Query>]
[-qMediaPool <Media Pool Name>]
[-qPreview (View Query Details)]
[-qIgnoreRep (Ignore Replication Flag)]
[-qExclude <Exclude List File Name>]
[-qPastTime <Number of Days>]
[-qCA_RHAType <Type of CA RHA Session>](Used only with -qType CA_RHA)

More information:

tapecopy - Tape Copy Tool Command

tapecopy - Examples


Copyright © 2010 CA. All rights reserved. Email CA about this topic