Using the Backup Configuration Utility

Backup Configuration Utility

The Backup Configuration Utility is a helpful resource used to back up and restore Barr software configuration files. Use the Backup Configuration Utility to back up specific settings and restore original or specific settings. This topic shows how to back up or restore Barr configuration files.

See also:


Before you begin

There are a few important points to consider when using the Backup Configuration Utility.

Backing up configuration files

Complete the following steps to back up configuration settings and files.

  1. Open the Backup Configuration Utility. (On the Spool Window’s menu bar, select Tools | Backup Configuration.)

    Backup Configuration Utility

  2. Select Backup.

  3. Select the location where the backup files will be stored. Depending on which items you have selected for backup, several folders may be created within the backup folder. The default location is C:\Documents and Settings\Username\Local Settings\Temp\BarrBackup. Enter the folder name, click the folder button to select a folder, or select a recently used folder from the drop-down list. If the designated folder does not exist, it will be created automatically in the path specified. The folder must include a complete path or valid UNC Acronym for Universal Naming Convention. The system of naming files among computers on a network so that a file on a given computer will have the same path name when accessed from any of the other computers on the network. name. The folder cannot exist in the installation path which is typically C:\Program Files\Barr.

  1. Under Items to include, select which items will be included in the backup file.

  2. Click Backup to back up the selected items. You will receive a warning if any existing backup files will be overwritten. Click Yes to continue with the backup, or click No to return to the Backup Configuration Utility. The status of the backup process will display in a message.

  1. If the backup was successful you will receive a message confirming this. If the backup was not successful, you will receive a message that an error occurred. A log file is stored in the backup folder and shows details of the backup. To view the log file, select View log file, and then click OK.

Restoring configuration files

Complete the following steps to restore configuration settings and files. The current software version and the version of the backed up configuration files must be based on the same major version of the software. For example, a backup of software version 4.1.48 can be restored to software version 4.1.50, but not to software version 4.2.1.

  1. Open the Backup Configuration Utility. (On the Spool Window’s menu bar, select Tools | Backup Configuration.)

    Backup Configuration Utility

  2. Select Restore.

  3. Select the folder where the configuration files are stored. The default location is C:\Documents and Settings\Username\Local Settings\Temp\BarrBackup. Enter the folder name, click the folder button to select a folder, or select a recently used folder from the drop-down list.

  4. To save your current configuration before restoring configuration files, select Archive current configuration first. The current configuration files will be saved in a folder named Archived Configuration within the folder specified for Folder.

  5. Under Items to include, select which items to include from the backup file. When restoring, only items selected to be backed up will be available to be restored in the Items to include list. For example, if AFP resources was not selected when backing up, then AFP resources will not be available to be restored.

If you are restoring Spool Printers, you must change all printer states to Disabled before restoring the configuration.

  1. Click Restore to restore the selected items.

  2. You will receive a warning that any existing configuration settings will be overwritten. Click Yes to continue with the restore, or click No to return to the Backup Configuration Utility. The status of the restore process will display in a message.

  3. If the restore was successful you will receive a message confirming this. If the restore was not successful, you will receive a message that an error occurred. Details of the restore and any errors are appended to the log file, which is stored in the backup folder. To view the log file, select View log file, and then click OK.

Viewing the log file

Complete the following steps to view the log file.

  1. Open the Backup Configuration Utility. (On the Spool Window’s menu bar, select Tools | Backup Configuration.)

  1. Click View Log. The log file is named BarrBackup.log and is located in the \\Program Files\Common Files\Barr\Log folder.

You can also view the log file by selecting View log file on the confirmation dialog box you receive after backing up or restoring a file.

Backing up files from the MS-DOS prompt

In addition to using the Backup Configuration Utility, you can use the command prompt to back up configuration files. Enter the following command at the command prompt to back up configuration files for Barr Systems registry entries, spool printers, resource folders, settings folder, and code pages.

BarrConfig /b folder settingsfile

  1. After /b, type the desired backup folder location to save files. If you do not specify the entire path of the folder or a valid UNC Acronym for Universal Naming Convention. The system of naming files among computers on a network so that a file on a given computer will have the same path name when accessed from any of the other computers on the network. name, the files will be saved in the root of the current directory specified.

  2. Optionally, after folder you can type a name for the settingsfile. The settingsfile is an input file to the backup command line, which specifies the items to be backed up. The settingsfile uses the same format as the BackupConfig.xml file. If a settingsfile is not specified and the BackupConfig.xml file is not found, the utility will backup the default items. The BackupConfig.xml file is created by the utility during backup. It specifies the items that were successfully backed up. BackupConfig.xml is included in the backup folder and is used during the restore process.