IBM Tivoli Storage Manager, Version 7.1

Filelist

Use the filelist option to process a list of files.

You can use the filelist option with the following commands:

The Tivoli® Storage Manager client opens the file you specify with this option and processes the list of files within according to the specific command. Except for the restore and retrieve commands, when you use the filelist option, Tivoli Storage Manager ignores all other file specifications on the command line.

The files (entries) listed in the filelist must adhere to the following rules:

AIX operating systems HP-UX operating systems Linux operating systems Mac OS X operating systems Oracle Solaris operating systems Windows operating systems The following are examples of valid paths in a filelist:

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems
   /home/dir/file1
   /usr/tivoli/file2
   /usr/avi/dir1
   /fs1/dir2/file3
   "/fs2/Ha Ha Ha/file.txt"
   "/fs3/file.txt"
Windows operating systems
   c:\myfiles\directory\file1
   c:\tivoli\mydir\yourfile.doc
   ..\notes\avi\dir1
   ..\fs1\dir2\file3
   "d:\fs2\Ha Ha Ha\file.txt"
   "d:\fs3\file.txt"

To override standard processing of quotation marks and wildcard characters, see Quotesareliteral and Wildcardsareliteral.

You can use the filelist option during an open file support operation. In this case, Tivoli Storage Manager processes the entries in the filelist from the virtual volume instead of the real volume.

If an entry in the filelist indicates a directory, only that directory is processed and not the files within the directory.

If the file name (the filelistspec) you specify with the filelist option does not exist, the command fails. Tivoli Storage Manager skips any entries in the filelist that are not valid files or directories. Tivoli Storage Manager logs errors and processing continues to the next entry.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems Use file specifications with the restore and retrieve commands to denote the destination for the restored filelist entries. For example, in the following restore command, the file specification /user/record/ represents the restore destination for all entries in the filelist.
restore -filelist=/home/dir/file3 /usr/record/
AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems However, in the following selective command, the file specification /usr/record/ is ignored.
selective -filelist=/home/dir/file3 /usr/record/
Windows operating systems Use file specifications with the restore and retrieve commands to denote the destination for the restored filelist entries. For example, in the following restore command, d:\dir\ represents the restore destination for all entries in the filelist.
restore -filelist=c:\filelist.txt d:\dir\
Windows operating systems However, in the following selective command, the file specification d:\dir\ is ignored.
selective -filelist=c:\filelist.txt d:\dir\

If you specify a directory in a filelist for the delete archive or delete backup command, the directory is not deleted. filelists that you use with the delete archive or delete backup command should not include directories.

The entries in the list are processed in the order they appear in the filelist. For optimal processing performance, pre-sort the filelist by file space name and path.

Note: Tivoli Storage Manager might back up a directory twice if the following conditions exist:
  • The filelist contains an entry for the directory
  • The filelist contains one or more entries for files within that directory
  • No backup of the directory exists

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems For example, your filelist includes the entries /home/dir/file1 and /home/dir. If the /dir directory does not exist on the server, the /home/dir directory is sent to the server a second time.

Windows operating systems For example, your filelist includes the entries c:\dir0\myfile and c:\dir0. If the \dir0 directory does not exist on the server, the c:\dir0 directory is sent to the server a second time.

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems Windows operating systems

Supported Clients

This option is valid for all clients. The Tivoli Storage Manager client API does not support this option.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-FILEList = - --filelistspec---------------------------------><

Parameters

filelistspec
Specifies the location and name of the file that contains the list of files to process with the command.
Note: When you specify the filelist option on the command line, the subdir option is ignored.

Examples

AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems Mac OS X operating systems Command line:
sel -filelist=/home/avi/filelist.txt
Windows operating systems Command line:
sel -filelist=c:\avi\filelist.txt


Feedback