Sun logo      Previous      Contents      Index      Next     

Sun ONE Identity Server 6.1 Administration Guide

Chapter 12
The bak2am Command Line Tool

This chapter provides information on the bak2am command line tool and contains the following section:


The bak2am Command Line Executable

Identity Server contains an bak2am utility under IdentityServer_base/SUNWam/bin. This utility performs a restore of the Identity Server components that were backed-up by the am2back utility.

The bak2am Syntax

The generic syntax for using the bak2am tool for the Solaris operating system is:

./bak2am [ -v | --verbose ] -z | --gzip tar.gz-file

./bak2am [ -v | --verbose ] -t | --tar tar-file

./bak2am -h | --help

./bak2am -n | --version

The generic syntax for using the bak2am tool for the Windows 2000 operating system is:

bak2am [ -v | --verbose ] -d | --directory directory-name

bak2am -h | --help

bak2am -n | --version


Note

Two hyphens must be entered exactly as shown in the syntax.


bak2am Options

--gzip backup-name

--gzip specifies the full path and filename of the backup file in tar.gz format. By default, the path is IdentityServer_base/backup. This option is for Solaris only.

--tar backup-name

--tar specifies the full path and filename of the backup file in tar format. By default, the path is IdentityServer_base/backup. This option is for Solaris only.

--verbose

--verbose is used to run the backup utility in verbose mode.

--directory

--directory specifies the backup directory. By default, the path is IdentityServer_base/backup. This option is for Windows 2000 only.

--help

--help is an argument that displays the syntax for the bak2am command.

--version

--version is an argument that displays the utility name, product name, product version and legal notice.

  1. Login as root.
  2. The user running this script must have root access.

  3. Untar the input tar file.
  4. This was generated when the backup script was run.



Previous      Contents      Index      Next     


Copyright 2003 Sun Microsystems, Inc. All rights reserved.