Tivoli Header

Tivoli Storage Manager for UNIX Backup-Archive Clients Installation and User's Guide

Archive

The archive command archives a single file, selected files, or all files in a directory and its subdirectories on a server.

Archive files that you want to preserve in their current condition. To release storage space on your workstation, delete files as you archive them using the deletefiles option. Retrieve the archived files to your workstation whenever you need them again.

Supported Clients

This command is valid for all UNIX clients.

Syntax

                          .-----------------.
                          V                 |
>>-ARchive--+----------+----+- filespec---+-+------------------><
            '- options-'    '- "filespec"-'
 
 

Parameters

options
You can use these command line options with the archive command: archmc, deletefiles, description, dirsonly, filelist, and volinformation. For more information about command line options, see Chapter 10, "Using Options with Commands".

You can use the changingretries and subdir common options with the archive command. See Chapter 9, Setting Processing Options for information about these common options.

filespec
Specifies path and name of the file you want to archive. You can use wildcards to specify groups of files or all the files in a directory. You can also enter up to 20 file specifications in a command. See Maximum File Size for Operations for the maximum file size for archive processing.

Examples

Task
Archive a single file named budget in the /home/proj1 directory.

Command: archive /home/proj1/budget

Task
Archive all files in the /home/proj1 directory that contain a file extension of .txt.

Command: archive "/home/proj1/*.txt"

Task
Archive all files in the directory tree headed by the /home directory.

Command: archive -subdir=yes "/home/*"


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]