Tivoli Header

Tivoli Space Manager for UNIX Using the Hierarchical Storage Management Clients

Back Up and Migrate Files to a Different Server

Follow these instructions to restore your file system if you back up files to one server and migrate them to another, or if backup versions are not available for migrated and premigrated files.

  1. Follow your operating system instructions to establish the file system again.
  2. Mount the file system. For information about mounting file systems, see Mounting Your File Systems First.
  3. If the /etc/adsm/SpaceMan/config/dsmmigfstab file contains an entry for your file system, remove the entry from the file. Ensure that the file system does not contain the .SpaceMan directory. Otherwise, you will not be able to add space management to your file system.
  4. Add space management to your file system. 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 your file system. This command is provided with the backup-archive client. 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 are restored for your file system. For each directory, attributes such as access permissions or, on an AIX workstation, an access control list, are restored.

    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.

  6. Enter the dsmmigundelete command to recreate stub files for migrated files, and to create stub files for premigrated files. 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 restoring an entire 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 the remaining files in the /home file system, enter:
       dsmc restore -replace=no -sub=yes "/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 ]