
Administration Commands                           list-backups(1)

NAME
     list-backups - lists all backups

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

DESCRIPTION
     This command displays the status information about all back-
     ups  in  the backup respository. The list-backups 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 par-
                                 ticular 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   sen-
                                 tences    and   favoring   well-
                                 formatted data  for  consumption
                                 by a script. Default is false.

     -v --verbose                Indicates that  output  data  is
                                 displayed with detailed informa-
                                 tion. Default is false.

OPERANDS
     domain_name                 This is the name of  the  domain
                                 to  list  the  backups from.  If
                                 the domain is not specified  and
                                 only  one domain exists, it will
                                 be used automatically.

EXAMPLES

Java EE 5           Last change: 30 Jan 2007                    1

Administration Commands                           list-backups(1)

     Example 1 Using list-backups

       asadmin>list-backups --domaindir /usr/appserver90pe/domains/domain1 domain1
       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
       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)

Java EE 5           Last change: 30 Jan 2007                    2

