Archiving and retrieving files is similar to backing up and restoring files. Many of the concepts are similar. In this chapter, we cover the main archive and retrieve tasks, but where concepts are the same as for backup and restore, we provide references to Chapter 3, Backing Up and Restoring Files. See Do You Want to Back Up or Archive Files? for a discussion of the difference between backups and archives.
This chapter provides instructions for the following tasks:
Table 5. Archiving and Retrieving Files
All archive and retrieve procedures in this chapter also apply to the Web client, except those identified in "Using the Web Backup-Archive Client".
See "Starting A Web Client Session" for information about starting and using the Web client.
You request archive services when you want to preserve copies of files in their current state, either for later use or for historical or legal purposes. You can archive a single file, a group of files, or all the files in a directory or subdirectory. After you archive a file, you can choose to erase the original file.
In addition, TSM stores trustee directory rights, trustee file assignments, file attributes, name spaces, and associated name space information with the archive copies of the files.
Use the archive command to archive files. Use wildcards to archive more than one file at a time. If you archive a directory of files, you can use the subdir=yes option to include all the subdirectories under that directory in the archive.
For example, to archive the files in the sys:proj directory and its subdirectories, use:
load dsmc archive sys:proj/ -subdir=yes
You can use more than one file specification with the archive command. For example, to archive the sys:proj/h1.doc file and the bindery, use:
load dsmc archive sys:proj/h1.doc bindery
Use the description option to assign a description to the archive:
load dsmc archive sys:h1.doc -description="Chapter 1, first version"
See Displaying Backup Processing Status for an explanation of the statistics that TSM provides after processing an incremental, selective or archive command.
Use the archmc option to specify a different management class than the one normally associated with the file.
If TSM refuses to archive a file, check to see if it is marked for execute only or if it is opened and locked by another user.
Your administrator might have set up schedules to automatically archive certain files on your NetWare server. See Chapter 5, Automating TSM Tasks for information on checking and running the schedules available to you.
See Archive for more information.
This section discusses some advanced considerations for archiving files. You do not need to understand this information in order to use TSM for basic work.
You can delete archives if you decide you no longer need them. Unlike backup versions, you can delete individual archives without deleting the entire file space.
Use the delete archive command to delete archive copies.
As with backing up files, TSM checks the include options in your include-exclude list to determine which management class to assign to your archived files. If you do not specifically assign a management class to a file with an include option, TSM assigns the file the default management class.
TSM can only archive a file if the selected management class contains an archive copy group.
For information on the various management class attributes used to manage your archives, see Displaying Information About Management Classes and Copy Groups. For information on assigning management classes, see Assigning a Management Class to Files.
You can request archive services for multiple NetWare file servers. See Requesting Backup and Archive Services for Remote Servers for more information.
You retrieve a file when you want to return an archive copy from the server to your NetWare server.
You can retrieve a single file, a group of files, or all the files in a directory or subdirectory. When you retrieve a file, TSM sends you a copy of what is stored. The archived file remains intact in storage.
You can also specify that you want to retrieve files you archived within a particular range of dates or that are due to expire within a particular range of dates.
Use the retrieve command to retrieve files. Indicate the file you want retrieved and a destination. If you do not indicate a destination, the files are retrieved to their original location.
For example, to retrieve the sys:doc/h1.doc file to its original directory, use:
load dsmc retrieve sys:/doc/h1.doc
To retrieve it under a new name, use:
load dsmc retrieve sys:doc/h1.doc sys:doc/h2.doc
You can use the pick option to get a list of archives from which you can pick files.
See Retrieve for more information.