Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

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 want, afterward. For information about manually starting and stopping SMS refer to the System Management Services (SMS) 1.4 Installation Guide .

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 receive an error message.

EXTENDED DESCRIPTION

 

Group Privileges Required

 

You must have superuser privileges to run this command.

Refer to Chapter 2, "SMS Security Options and Administrative Privileges" in the System Management Services (SMS) 1.4 Administrator Guide 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.4Go To TopLast Changed 19 September 2003