Sun Java System Access Manager 6 2005Q1 Administration Guide |
Chapter 12
The am2bak Command Line ToolThis chapter provides information on the am2bak command line tool and contains the following section:
The am2bak Command Line ExecutableAccess Manager contains an am2bak utility under AccessManager-base/SUNWam/bin. This utility performs a backup of either all or optional components of Access Manager. Directory Server must be running while taking the log backup.
The am2bak Syntax
The generic syntax for using the am2bak tool for the Solaris operating system is:
./am2bak [ -v | --verbose ] [ -k | --backup backup-name ] [ -l | --location location ] [[-c | --config] | [-b | --debug] | [-g | --log] | [-t | --cert] | [-d | --ds] | [-a | --all]]*
./am2bak -h | --help
./am2bak -n | --version
The generic syntax for using the am2bak tool for the Windows 2000 operating system is:
am2bak [ -v | --verbose ] [ -k | --backup backup-name ] [ -l | --location location ] [[-c | --config] | [-b | --debug] | [-g | --log] | [-t | --cert] | [-d | --ds] | [-a | --all]]*
am2bak -h | --help
am2bak -n | --version
am2bak Options
--verbose (-v)
--verbose is used to run the backup utility in verbose mode.
--backup backup-name (-k)
--backup backup-name defines the name of the backup file. The default is ambak.
--location (-l)
--location specifies the directory location of the backup. The default location is AccessManager-base/backup.
--config (-c)
--config specifies backup only for configuration files.
--debug (-b)
--debug specifies backup only for debug files.
--log (-g)
--log specifies backup only for log files.
--cert (-t)
--cert specifies backup only for certificate database files.
--ds (-d)
--ds specifies backup only for the Directory Server.
--all (-a)
--all specifies a complete backup of the entire Access Manager.
--help (-h)
--help is an argument that displays the syntax for the am2bak command.
--version (-n)
--version is an argument that displays the utility name, product name, product version and legal notice.
Backup Procedure
- Login as root.
The user running this script must have root access.
- Run the script ensuring that the correct path is used, if necessary.
The script will backup the following Solaris Operating Environment files:
- Configuration and Customization Files:
- AcessManager-base/SUNWam/config/
- AcessManager-base/SUNWam/locale/
- AcessManager-base/SUNWam/servers/httpacl
- AcessManager-base/SUNWam/lib/*.properties (Java property files)
- AcessManager-base/SUNWam/bin/amserver.instance-name
- AcessManager-base/SUNWam/servers/https-all_instances
- AcessManager-base/SUNWam/servers/web-apps-all_instances
- AcessManager-base/SUNWam/web-apps/services/WEB-INF/config
- AcessManager-base/SUNWam/web-apps/services/config
- AcessManager-base/SUNWam/web-apps/applications/WEB-INF/classes
- AcessManager-base/SUNWam/web-apps/applications/console
- /etc/rc3.d/K55amserver.all_instances
- /etc/rc3.d/S55amserver.all_instances
- DirectoryServer_base/slapd-host/config/schema/
- DirectoryServer_base/slapd-host/config/slapd-collations.conf
- DirectoryServer_base/slapd-host/config/dse.ldif
- Log And Debug Files:
- Certificates:
- Configuration and Customization Files:
- AcessManager-base/web-apps/services/WEB-INF/config/*
- AcessManager-base/locale/*
- AcessManager-base/web-apps/applications/WEB-INF/classes/*.properties (java property files)
- AcessManager-base/servers/https-host/config/jvm12.conf
- AcessManager-base/servers/https-host/config/magnus.conf
- AcessManager-base/servers/https-host/config/obj.conf
- DirectoryServer_base/slapd-host/config/schema/*.ldif
- DirectoryServer_base/slapd-host/config/slapd-collations.conf
- DirectoryServer_base/slapd-host/config/dse.ldif
- Log And Debug Files:
- Certificates: