Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Reference Manual

## backup-domain(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | EXAMPLES | EXIT STATUS | SEE ALSO

#### NAME

backup-domain– performs a backup on the domain

#### SYNOPSIS

`backup-domain` [––domaindir domain_directory] [––descriptioin description] [––domaindir domain_directory] [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`.

#### OPERANDS

domain_name

  This is the name of the root directory of the domain to be backed up. The default is all domains under `domaindir`.

#### 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.4 Last Revised 31 Jan 2005

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | EXAMPLES | EXIT STATUS | SEE ALSO

- © 2010, Oracle Corporation and/or its affiliates