9.6 Restoring environment information
To restore environment information of Application Server, restore the environment information of a backup file to the domain directory by using the restore-domain subcommand of the asadmin utility command. Additionally, copy the files that were managed outside the domain directory, such as server templates, to the original store directory.
Prerequisites
-
The domain administration server (DAS) is stopped.
-
Application Server is stopped.
Intended users
-
Systems engineers or systems operators
Procedure
To restore environment information of Application Server to the domain directory by using backup files, run the restore-domain subcommand of the asadmin utility command.
asadmin restore-domain--backupdir path_of_the_directory_where_the_backup_files_are_saved name_of_domain_where_environment_information_will_be_restored
When this command is run, the result is displayed as follows:
Command restore-domain executed successfully.
Verify the domain directory of the domain that was specified when the restore-domain subcommand was run, and ensure that the environment information was restored.
Copy the files (such as server templates) that were stored in the backup directory to their original directory.