If the IDIRSTRUCT file is deleted or modified, data loss condition may occur, active tapes may be de-assigned.

Article:TECH57024  |  Created: 2008-01-24  |  Updated: 2013-10-24  |  Article URL http://www.symantec.com/docs/TECH57024
Article Type
Technical Solution

Product(s)

Environment

Issue



If the IDIRSTRUCT file is deleted or modified, data loss condition may occur, active tapes may be de-assigned.

Solution



When NetBackup is installed, it creates a file called IDIRSTRUCT in the following paths:

On Windows:
<install_path>\VERITAS\NetBackup\db\

On Unix:
<install_path>/openv/netbackup/db/



The default value of the file is 2. With this value in place, all Netbackup image information (header files, data files etc) will be written to the following paths:

On Windows:
<install_path>\VERITAS\NetBackup\db\images\<client_name>\<ctime>

On Unix:
<install_path>/openv/netbackup/db/image/<client_name>\<ctime>




If the /usr/openv/netbackup/db/IDIRSTRUCT file is deleted, NetBackup will recreate this file with a value of 1; which is a change from the default value of 2.  This will result in the following behavior:

1.  All new NetBackup image information (header files, data files etc) will be written directly under the the following paths:
On Windows:
<install_path>\VERITAS\NetBackup\db\images\<client_name>\

On Unix:
<install_path>/openv/netbackup/db/image/<client_name>\

2.  From this point NetBackup Administrators will not be able to view any backup images for restore that were written prior to the time when the IDIRSTRUCT file was modified.  See the related document for details.

3.  The NetBackup EMM Database will check whether the backup images written to any assigned tapes exist in the image database under the <install_path>/db/images/<client_name> (UNIX) or <install_path>\db\images\<client_name> (Windows) directory; it will NOT not check any images under the <install_path>/db/images/<client_name>\<ctime> (UNIX) or <install_path>\db\images\<client_name>\<ctime> (Windows) directories.  As a result, of not finding older image information, the EMM database will de-assign the tapes for which it does not find any corresponding images.

4.  If the tapes are in the library, or if the tapes will be brought back into the library from off-site location, tapes may be even overwritten.


This behavior will also apply if the value of the IDIRSTRUCT file is manually modified.


Recommendation: Never delete or modify the IDIRSTRUCT file.










Legacy ID



296774


Article URL http://www.symantec.com/docs/TECH57024


Terms of use for this information are found in Legal Notices