Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java System Access Manager 6 2005Q1 Administration Guide 

Chapter 13
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

Access Manager contains an bak2am utility under AccessManager-base/SUNWam/bin. This utility performs a restore of the Access Manager 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 AccessManager-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 AccessManager-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 AccessManager-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     


Part No: 817-7647-11.   Copyright 2005 Sun Microsystems, Inc. All rights reserved.