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 Commandslist-backups(1)


NAME

 list-backups - lists all backups and restores

SYNOPSIS

 list-backups [domaindir domain_directory] [description description] [terse=false] [verbose=false] domain_name

DESCRIPTION

This command displays the status information about all backups and restores in the backup respository. The listbackups 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 directory from which the command extracts the list of files and restores. There must be a subdirectory of domaindir with this name.

EXAMPLES

Example 1. Using list-backups
asadmin>list-backups --domaindir directory1
sample-backup
The command list-backups executed successfully.

EXIT STATUS

0

command executed successfully

1

error in executing the command

SEE ALSO

backup-domain(1), restore-domain(1)


J2EE SDK 1.4Go To TopLast Changed 31 Jan 2005