restore

The restore command uses the configuration files in the /tmp directory to restore the cluster to its previous configuration.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svcconfig -- -- restore -- --+----------+-- ---------------->
                                 +- -f -----+      
                                 '- -force -'      

>--+----------+-- --+----------------------------+-- ----------->
   +- -q -----+     +- -prepare --+------------+-+      
   '- -quiet -'     |             +- -fmt -----+ |      
                    |             '- -fmtdisk -' |      
                    +- -execute -----------------+      
                    +- -fmt ---------------------+      
                    '- -fmtdisk -----------------'      

>--+-----------------+-----------------------------------------><
   '- -v --+- on --+-'   
           '- off -'     

Parameters

-f | force
Forces continued processing where possible.
-q | quiet
Suppresses console output (STDOUT).
-prepare
Checks the current configuration against the information in svc.config.backup.xml on the configuration to be restored. Prepares commands for processing in svc.config.restore.sh, and produces a log of events in svc.config.restore.prepare.log.
-fmt | fmtdisk
Includes the -fmtdisk option an all mkvdisk commands to be issued.
-execute
Runs the command script svc.config.restore.sh. Produces a log of events in svc.config.restore.execute.log.
-v on | off
Produces verbose output (on); the default is regular output (off).

Description

The restore command restores the target cluster configuration from the svc.config.backup.xml file in the configuration files directory. If neither the -prepare nor -execute option is specified, only a single event log svc.config.restore.log is produced.

The command pauses for 5 minutes if any nodes are added during this process. You are informed of this at run-time.

After restoration, a VDisk consists of a specific list of MDisks. If the relevant MDisk group comprises a larger list, either now or in the future, the restored VDisk cannot manage any MDisks that are not presently in its own list.

The configuration files directory is /tmp.

An invocation example

svcconfig restore -prepare
svcconfig restore -execute

The resulting output

No feedback
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.