9.5 Backing up the environment information
You can back up the environment information of Application Server, for example to change the environment definition and keep both the settings before and after the change. To back up environment information, create a backup file based on a file managed in the domain directory by using the backup-domain subcommand of the asadmin utility command. Additionally, copy and back up the files (mainly server templates) that are managed outside the domain directory.
Prerequisites
-
The domain administration server (DAS) is stopped.
-
Application Server is stopped.
Intended users
-
System engineers or system operators
Procedure
To back up the environment information of Application Server in the domain, run the backup-domain subcommand of the asadmin utility command.
asadmin backup-domain --backupdir path_of_the_directory_where_the_backup_files_are_saved domain_name
When this command is run, the result is displayed as follows:
Command backup-domain executed successfully.
Check the directory that was specified when the backup-domain subcommand was run, and ensure that the files were backed up.
Back up the files (mainly server templates) that are managed outside the domain directory by copying them to a directory used for backups.