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 backup_filename] [--description description] [--terse=false] [--verbose=false] [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

The restore is performed using the specified zip file as the source.

--description

A description can contain any string to help identify the particular backup. The description is displayed as part of the information for any backup.

-t --terse

Indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script. Default is false.

-t --verbose

Indicates that output data is displayed with detailed information. Default is false.

OPERANDS

domain_name

This is the name of the domain to restore. If the domain is not specified and only one domain exists, it will be used automatically.

EXAMPLES

Example 1. Using restore-domain
asadmin>restore-domain --domaindir directory1 --filename samplefile.zip
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