How we take backups in WebSphere?
To know this one should understand what is backup?, how it can be done?, what to backup?, when to backup?.
What is backup? A Backup is a routine runs everyday/week/month per your schedule, takes a copy of the file system or Snapshot of entire OS and so on.
How it can be done?
This is done a special group called System Administrators. They may use a specific software and schedule backup task, like Veritas NetBackup. When will the scheduler runs? Depends on the enterprise backup policy. It can a nightly backups, or over the weekend and so on.
Backup in view of WebSphere - One can backup WebSphere Configuration time to time or as and when required.
How to take Backup in WebSphere?
WebSphere supplies a command called backupConfig
backupConfig.sh backup_file [options]where backup_file specifies the file to which the backup is written. If you do not specify one, a unique name is generated.
Options
-nostop -quiet -logfile logfile_name -profileName profile_name -replacelog -trace -username user_name -password password -help -?
nostop
Tells the backupConfig command not to stop the servers before backing up the configuration
-quiet
Suppresses the progress information that the backupConfig command prints in normal mode
-logfile file_name
Specifies the location of the log file to which trace information is written
By default, the log file is named backupConfig.log and is created in the logs directory.
-profileName profile_name
Defines the profile of the application server process in a multi-profile installation
The -profileName option is not required for running in a single-profile environment. The default for this option is the default profile.
-replacelog
Replaces the log file instead of appending to the current log
-trace
Generates trace information into the log file for debugging purposes
-username user_name
Specifies the user name for authentication if security is enabled in the server; acts the same as the -user option
-user user_name
Specifies the user name for authentication if security is enabled in the server; acts the same as the -username option
-password password
Specifies the password for authentication if security is enabled in the server
-help
Prints a usage statement
-?
Prints a usage statement
2/8/09
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment