Sun Java System Application Server Platform Edition 8.2 Troubleshooting Guide

ProcedureTo back up and restore a server configuration

Steps
  1. Start the Application Server.


    install_dir/bin/asadmin start-domain domain_name
    
  2. Stop the domain.


    install_dir/bin/asadmin stop-domain domain_name
    
  3. Back up the domain.


    install_dir/bin/asadmin backup-domain domain_name
    

    Backed up directories are stored by default in the install_dir/backups directory.

  4. Make changes to the Application Server configuration and/or domain(s), as desired.

  5. If necessary, restore the server and/or domain configuration to the state saved in Step 3, above.


    install_dir/bin/asadmin restore-domain --filename backup_file domain_name