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


NAME

 backup-domain - performs a backup on the domain

SYNOPSIS

 backup-domain [--domaindir domain_directory] [--description description] [--terse=false] [--verbose=false] [domain_name]

DESCRIPTION

The backup-domain command backs up files under the named domain. This 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.

--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 be backed up. If the domain is not specified and only one domain exists, it will be used automatically.

EXAMPLES

Example 1. Using backup-domain
asadmin>backup-domain --domaindir directory1 domain1
The command executed successfully.
Where: domain1 is the domain name.

EXIT STATUS

0

command executed successfully

1

error in executing the command

SEE ALSO

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


J2EE SDK 1.4Go To TopLast Changed 31 Jan 2005