DevPortal

How do I take Named Backups?


Named backups can be taken on demand. Here, a snapshot of the configuration is taken. This creates a copy of the config directory and stores it in a directory with the name you provided. The named backups will be stored under a directory called custom under the config directory.

To take a named backup, run the following command at the J2EE Shell prompt:

j2eeadmin@default> config -save backupJune06
Backed up the current configuration with name backupJune06

In the above command, the -save option is followed by the name of the backup file (backupJune06, in this case). This results in the creation of a folder custom (for custom backups) in which another folder with the name specified for the named backup is created. This contains the backup configuration files available at that point of time.

To see a list of existing named backups available on the current installation, use the -list option:

j2eeadmin@default> config -list
User Configuration backups are -
Name             Timestamp
----------------------------------------------------------
backupJune06     Tue Jun 06 13:12:17 IST 2006
backupJune05     Mon Jun 06 13:11:55 IST 2005


Related Topics:

© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal