Previous Contents Index Next |
Sun ONE Identity Server Administration Guide |
Chapter 11 The am2bak Command Line Tool
This chapter provides information on the am2bak command line tool and contains the following section:
The am2bak Command Line Executable
The am2bak Command Line Executable
Identity Server contains an am2bak utility under <Identity_Server_root>/SUNWam/bin. This utility performs a backup of either all or optional components of Identity Server. 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]]*
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]]*
--verbose
--verbose is used to run the backup utility in verbose mode.
--backup <backup-name>
--backup <backup-name> defines the name of the backup file. The default is ambak.
--location
--location specifies the directory location of the backup. The default location is <Identity_Server_root>/backup.
--config
--config specifies backup only for configuration files.
--debug
--debug specifies backup only for debug files.
--log
--log specifies backup only for log files.
--cert
--cert specifies backup only for certificate database files.
--ds
--ds specifies backup only for the Directory Server.
--all
--all specifies a complete backup of the entire Identity Server.
--help
--help is an argument that displays the syntax for the am2bak command.
--version
--version is an argument that displays the utility name, product name, product version and legal notice.
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:
identity_server_root/SUNWam/config/
identity_server_root/SUNWam/locale/
identity_server_root/SUNWam/servers/httpacl
identity_server_root/SUNWam/lib/*.properties (Java property files)
identity_server_root/SUNWam/bin/amserver.<instance-name>
identity_server_root/SUNWam/servers/https-<all_instances>
identity_server_root/SUNWam/servers/web-apps-<all_instances>
identity_server_root/SUNWam/web-apps/services/WEB-INF/config
identity_server_root/SUNWam/web-apps/services/config
identity_server_root/SUNWam/web-apps/applications/WEB-INF/classes
identity_server_root/SUNWam/web-apps/applications/console
/etc/rc3.d/K55amserver.<all_instances>
/etc/rc3.d/S55amserver.<all_instances>
directory_server_root/slapd-<host>/config/schema/
directory_server_root/slapd-<host>/config/slapd-collations.conf
directory_server_root/slapd-<host>/config/dse.ldif
Log And Debug Files:
var/opt/SUNWam/logs (Sun One Identity Server log files)
var/opt/SUNWam/install (Identity Server installation log files)
var/opt/SUNWam/debug (Identity Server debug files)
Certificates:
The script will also backup the following Microsoft® Windows 2000 operating system files:
Configuration and Customization Files:
identity_server_root/web-apps/services/WEB-INF/config/*
identity_server_root/web-apps/applications/WEB-INF/classes/*.properties (java property files)
identity_server_root/servers/https-<host>/config/jvm12.conf
identity_server_root/servers/https-<host>/config/magnus.conf
identity_server_root/servers/https-<host>/config/obj.conf
directory_server_root/slapd-<host>/config/schema/*.ldif
directory_server_root/slapd-<host>/config/slapd-collations.conf
directory_server_root/slapd-<host>/config/dse.ldif
Log And Debug Files:
var/opt/logs (Sun One Identity Server log files)
var/opt/debug (Sun One Identity Server debug files)
Certificates:
Previous Contents Index Next
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Last Updated December 04, 2002