Sun Java System Application Server Enterprise Edition 8.2 Reference Manual
  Buscar sólo este libro
Descargar este libro en PDF (1865 KB)

restore-domain(1)

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

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 /opt/SUNWappserver/nondefaultdomaindir/domain1 --filename sjsas_backup_v00001.zip domain1
    Successfully restored the domain (domain1), from /opt/SUNWappserver/nondefaultdomaindir/domain1/backups/sjsas_backup_v00001.zip
    
    Description: 1137030607263
    Backup Filename: /opt/SUNWappserver/nondefaultdomaindir/domain1/backups/sjsas_backup_v00001.zip
    Date and time backup was performed: Wed Jan 11 17:50:07 PST 2006
    Domains Directory: /opt/SUNWappserver/nondefaultdomaindir
    Domain Directory: /opt/SUNWappserver/nondefaultdomaindir/domain1
    Domain Name: domain1
    Name of the user that performed the backup: jondoe

EXIT STATUS

    0

    command executed successfully

    1

    error in executing the command

SEE ALSO

Java EE 5  Last Revised 22 Dec 2004

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