Rebuild catalogs when Catalog operation fails in Backup Exec


To totally unlock this section you need to Log-in


Login

Issue

Catalog operations fails during backup or a restore job with below given errors:

Error

Some possible error messages:

"The requested media is not listed in the media index and could not be mounted. To add the media's catalog information to the disk-based catalogs, run an inventory operation on the media and resubmit the Catalog operation."
"V-79-57344-33860 - An error occurred while scanning the catalogs. The job will not continue."

"Catalog job fails with the error "0xe0000901 - The storage media-based catalog data was not written during backup for a given backup set. Backup Exec must catalog this backup set using a file-by-file cataloging method.”

"An error occurred while retrieving catalog information".

Cause

This issue could be due to a number of problems: Corrupt catalogs in the Catalogs folder, catalogs on disk/tapes overwritten, catalogs truncated, bad tape, one piece of media not currently identified in Backup Exec database, unable to catalog overwritten media which is transferred from another Media Server even after the inventory was performed, etc.

Solution

In case the problem is based in backup to tape jobs, following steps to delete the media from Backup Exec and re-run the catalogs operation on the media is suggested:

Right click on the tape/s that is having problems, select "Associate with Media Set" and send it to "Retired Media" media set.

Rebuild catalogs when Catalog operation fails in Backup Exec

Rebuild catalogs when Catalog operation fails in Backup Exec

Go to "Retired Media" into Media tab from Backup Exec menu and Delete it/them (alternatively you could associate the "bad" media to Scratch Media, maybe when there is a corrupt backup in it and you have to use this media to complete a future backup of the same data):

Rebuild catalogs when Catalog operation fails in Backup Exec

Rebuild catalogs when Catalog operation fails in Backup Exec

Rebuild catalogs when Catalog operation fails in Backup Exec

Rebuild catalogs when Catalog operation fails in Backup Exec

  • Stop Backup Exec services;
  • Rename “Catalogs” folder to anything other than that, for example "Catalogs_old". The default location for this folder is:
  • %SystemDrive%:\Program Files\Veritas\Backup Exec NT\Catalogs   (for versions 7 to 10d)
    
    %SystemDrive%:\Program Files\Symantec\Backup Exec\Catalogs (for version 11d and up)

  • Restart Backup Exec services.
  • In Backup Exec, go to Tools|Options and click on “Catalog” section.
  • Uncheck the "Use storage media-based catalogs" option.
  • Rebuild catalogs when Catalog operation fails in Backup Exec

    Rebuild catalogs when Catalog operation fails in Backup Exec

    Explanation of 'Use storage media-based catalogs' (Fast Cataloging) option:

    When the "Use storage media-based catalogs" check box is selected, Backup Exec is able to read the catalog information that is on the media. This allows the catalog operation to complete much faster as it is not reading each file on the media to build a new catalog. This option reduces the size of the catalogs considerably.

    After the catalogs have been truncated, the files and directories cannot be restored unless the media is recataloged. If the check box is not selected during a catalog operation, all files on the tape must be read file-by-file to create a new catalog.

    Having the option cleared is very useful when cataloging media written by other backup software applications, such as ArcServe. When running a catalog operation with this check box not selected, it is normal that the procedure will take a long time to complete. The catalog procedure may take as long or longer than the time it took to record the backup job operation.

    If a particular backup job spanned more than one tape, clearing this option also allows you to catalog one of the tapes independently without requiring the other tapes. Backup Exec will catalog the particular tape only.

    Perform an Inventory on the media.

    Rebuild catalogs when Catalog operation fails in Backup Exec

    Rebuild catalogs when Catalog operation fails in Backup Exec

    It should now appear once again in “Online media” section, under Devices tab.

    Rebuild catalogs when Catalog operation fails in Backup Exec

    Rebuild catalogs when Catalog operation fails in Backup Exec

    Run the Catalog job again to rebuild the catalogs, it should complete successfully, if so re-run the restore or backup job.

    In some cases where existing catalogs are corrupt or even recreating the catalogs does not help, "catrebuildindex -r" command can be used to recreate the index. Here are the steps:

    Opening a command prompt, typing:

    cd C:\Program Files\Symantec\Backup Exec  
    
    and then...
    catrebuildindex -r

    Rebuild catalogs when Catalog operation fails in Backup Exec

    Rebuild catalogs when Catalog operation fails in Backup Exec

    Looking for “catrebuildindex.exe” into “C:\Program Files\Symantec\Backup Exec” and double click on it, which will start the same process but from that executable file.

    1 thought on “Rebuild catalogs when Catalog operation fails in Backup Exec”

    Comments are closed.