Tivoli Header
Tivoli Storage Manager for UNIX Backup-Archive Clients Installation and User's Guide
The query archive command displays a list of your archived
files, the file size, archive date, file specification, expiration date, and
file description.
Supported Clients
This command is valid for all UNIX clients.
Syntax
>>-Query ARchive--+----------+--+- filespec---+----------------><
'- options-' '- "filespec"-'
Parameters
- options
- You can use these command line options with the query archive
command: description, dirsonly, filelist, filesonly, fromdate,
fromnode, fromowner, fromtime, todate, totime. For more
information, see Chapter 10, "Using Options with Commands".
You can use these common options with the query archive
command: scrolllines, scrollprompt,
subdir. See Chapter 9, Setting Processing Options for more information..
- filespec
- Specifies the path and file name that you want to query. Use
wildcard characters to specify a group of files or all the files in a
directory. If you use wildcard characters, enclose the file
specification in double quotation marks. Specify an asterisk (*) to
query all archived files in the current directory.
Examples
- Task
- Display a list of all your archived files in the current working
directory.
Command: q archive "*"
- Task
- Display a list of all your archived files in the /devel
directory and all of its subdirectories.
Command: query archive "/devel/*" -subdir=yes
- Task
- Display a list of all your archived files in the current directory.
Use the dateformat and timeformat options to reformat
the dates and times.
Command: q ar -date=5 -time=1 "*"
- Task
- Display a list of archived files in the /home/proj directory
whose first four characters of the file name begin with
proj. Use the dateformat and
timeformat options.
Command: q ar -date=1 -time=4
"/home/proj/proj*"
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]