Tivoli Header

Tivoli Space Manager for UNIX Using the Hierarchical Storage Management Clients

Backup Server and Migration Server are Different

To restore file systems to different servers for backup and migration, follow these steps:

  1. Reinstall the backup-archive client and the HSM client.
  2. Follow your operating system instructions to establish your native file systems again.
  3. Mount each file system that you want to restore. For information about mounting file systems, see Mounting Your File Systems First.
  4. Add space management to each file system that the HSM client previously managed. For information about adding space management, see Adding Space Management to Your File Systems.
  5. Enter the dsmc restore command with the dirsonly option to restore the directory structure of each file system. This command is provided with the backup-archive client. You can perform this step at the same time for one or more file systems. For example, to restore the directory structure for the /home file system, enter:
       dsmc restore -dirsonly -sub=yes "/home/*"
    

    When you use the dirsonly option with the dsmc restore command, only those backed up directories for the file systems that you specify are restored. For each directory, attributes such as access permissions or, on an AIX workstation, an access control list, are restored.

  6. Enter the dsmmigundelete command to recreate stub files for migrated files and to create stub files for premigrated files for each file system for which you restored the directory structure. If you enter the dsmmigundelete command without a file system specification, the default is all file systems for which space management is active. Space management is automatically activated for a file system when you add space management to it. For example, if you want to recreate stub files for all migrated files and create stub files for all premigrated files in the /home file system that were not marked for expiration on the server, enter:
       dsmmigundelete /home
    
    Note:
    When you restore a file system, do not use the expiring option with the dsmmigundelete command unless you want to create stub files for all migrated and premigrated files, whether or not the files were marked for expiration. If you use the expiring option, you might create stub files for migrated or premigrated files that were intentionally deleted from your local file system prior to the problem that caused you to lose your file system.

    For more information about the dsmmigundelete command, see dsmmigundelete.

  7. Enter the dsmc restore command with the replace option set to no to restore backup versions of previously resident files. For example, to restore backup versions of all remaining files in the /home file system, enter:
       dsmc restore -replace=no -sub "/home/*"
    
    Note:
    The HSM client restores hard links during the restore process if the hard links were backed up.


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