Sun Microsystems, Inc.
   www.sun.com docs.sun.com | | |  
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administrationsmsrestore(1m)


NAME

 smsrestore - restore the SMS environment

SYNOPSIS

 smsrestore filename
 smsrestore -h

DESCRIPTION

 

smsrestore(1M) restores the operational environment of the SMS from a backup file created by smsbackup(1M). Use smsrestore to restore the SMS environment after the SMS software has been installed on a new disk.

Turn off failover and stop SMS before running smsrestore, start SMS and turn on failover, if you wish, afterwards. For information on manually starting and stopping SMS refer to the System Management Services (SMS) 1.2 Installation Guide and Release Notes for the Sun Fire 15K/12 Systems.

If any errors occur, smsrestore writes error messages to /var/sadm/system/logs/smsrestore.

Note – If the main SMS environment has changed since the backup file was created, for example by shutting down a domain, you must run smsbackup(1M) again in order to maintain a current backup file for the system controller.

OPTIONS

 

The following option is supported.

-h
Help. Displays usage descriptions. Note – Use alone. Any option specified in addition to -h is ignored.

OPERANDS

 

The following operands are supported:

filename
Name of the backup file that was created by smsbackup(1M). If the specified file is not in the current directory, the filename must contain the full path name for the file. This file can reside anywhere on the system, connected network or tape device. If no filename is specified, you will receive an error.

EXTENDED DESCRIPTION

 

Group Privileges Required

 

You must have superuser privileges to run this command.

Refer to Chapter 2 in the System Management Services (SMS) 1.2 Administrator Guide for the Sun Fire 15K/12K Systems for more information.

EXAMPLES

 Example 1. Restoring SMS
 
 
sc# smsrestore sms_backup.1.0.cpio
Example 2. Restoring SMS from Tape Device 0
 
 
sc# smsrestore /dev/rmt/0/sms_backup.1.0.cpio

EXIT STATUS

 

The following exit values are returned:

0
Successful completion
>0
An error occurred.

FILES

 

The following file is used by this command:

/var/sadm/system/logs/smsrestore
smsrestore log file

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

Attribute TypesAttribute Values
AvailabilitySUNWSMSop

SEE ALSO

 

smsbackup(1m)


SMS 1.2Go To TopLast Changed 22 April 2002

 
      
      
Copyright 2002 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 USA. All rights reserved.