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  
 
User Commandsrestore-domain(1)


NAME

 restore-domain - restores files from backup

SYNOPSIS

 restore-domain [--domaindir domain_directory] [--filename backupfilename] [domain_name]

DESCRIPTION

This command restores files under the domain from a backup directory.

The restore-domain command is supported in local mode only.

OPTIONS

--domaindir

This option specifies the parent directory of the domain upon which the command will operate. The default is install_dir/domains.

--filename

This option reads the files for this restore from either the directory or from a zip file, depending upon the nature of the file. If this option is set, then the backup is read directly from the given location.

This option is required if -backupdir is not set. There is no default.

OPERANDS

domain_name

This is the name of the root directory of the domain to restore. The default is all domains under backupdir.

EXAMPLES

Example 1. Using restore-domain
asadmin>restore-domain --domaindir directory1 --filename file11
The command restore-domain executed successfully.

EXIT STATUS

0

command executed successfully

1

error in executing the command

SEE ALSO

backup-domain(1), list-backups(1)


J2EE SDK 1.4Go To TopLast Changed 22 Dec 2004