Skip navigation FileNET logo
  Help for Backup and Restore  
  Search  |  Index  
Backup and restore guidelines
Concepts
What to back up
Prepare backup tapes
Backing up the system state
Backing up Process Engine
Backing up Process Analyzer
Backing up databases
Restoring the system state
Restoring Process Analyzer
Restoring databases
   

Backing up Process Engine from the command line

Command-line execution requires a batch file to execute the ntbackup command without user input. The batch file is a script that specifies the locations of the FileNet database files, control files, and specific FileNet directories that contain valuable data files. If you wish to use Windows Backup interface, refer to Backing up Process Engine.

See What to back up for Process Engine for a complete list of the files requiring backup. Always include the Registry database by using the /B option in your backup.

Note the following regarding ntbackup:

  • After you issue the command, the Backup Status dialog box appears, displaying information such as the tape status, the number of directories, files and bytes backed up, recoverable backup errors, and skipped files.
  • You can abort the backup at any point by using the Abort button on the dialog box.
  • If you do not specify a full path to the log file (as in the examples below), ntbackup places the log file in the WINNT\SYSTEM32 directory—not your current directory.
  • If the log file you specify already exists, ntbackup displays a prompt requiring your acknowledgment.
  • If another tape is required, ntbackup pauses and prompts you for a new tape.
  • Unless you specify the /A option (append to an existing tape), ntbackup overwrite the existing tape without a confirmation prompt.
    For additional details on using batch files to run ntbackup, see the Windows Backup online help.

Examples

This section presents example backup scripts. The examples assume that:

  • \fnsw_loc directory is installed on drive D:
  • The workflow database is installed on drive E:
  • Recovery logs are on drive G: in a user-defined directory G:\Recovery\
  • Caches are on drive H:


Example 1

This example backs up all workflow server data, including the local Registry and cache. In this example, the directories where the data resides are specified. Enter the command on one line as:

ntbackup Backup D:\FNSW_LOC E:\FNSW\DEV\1 G:\RECOVERY
H:\FNSW\DEV\ /T NORMAL /L “FN_Log.file” /D “FILENET IMS BACKUP” /B

Example 2

This example backs up the entire system, including the local registry, if you have the logical hard drives: C, D, E, and F. If you have tape capacity to back up your entire system, this is the safest procedure.

ntbackup Backup C: D: E: F: /T NORMAL /L “Log.out” /B /D “Full Backup”

To verify the backup tape, add the /V option:

ntbackup Backup C: D: E: F: /T NORMAL /L “Log.out” /B /V /D “Full Backup”

To create a tape with restricted access, add the /R option:

ntbackup Backup C: D: E: F: /T NORMAL /L “Log.out” /B /V /R /D “Full Backup”

To do an incremental backup, change NORMAL to INCREMENTAL:

ntbackup Backup C: D: E: F: /T INCREMENTAL /L “Log.out” /B /V /R
/D “Full Backup”

After the backup is complete, check the log file that you designated in the /L option. Verify that ntbackup completed without errors.