Tivoli Header

Tivoli Storage Manager for Windows 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.

Migrating to Unicode-Enabled File Spaces

Please see Autofsrename for information about using the Unicode-enabled client.

Supported Clients

This command is valid for all Windows clients.

Syntax

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

Parameters

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

You can use the autofsrename, 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.jan in the c:\plan\proj1 directory.

Command: archive c:\plan\proj1\budget.jan

Task
Archive all files in the c:\plan\proj1 directory that contain a file extension of .txt.

Command: archive c:\plan\proj1\*.txt

Task
Archive all files in the c: drive.

Command: archive -subdir=yes c:\*.*

Task
Archive all files in the Microsoft DFS volume, MyDfsVolume. You must specify subdir=yes to archive all files in the volume.

Command: archive \\myserver\mydfsroot\mydfsvolume\*.*


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