Date - 03/2010
Affected Product & Version - NetVault:Backup all version
Affected Module & Version - File System any
OS Version - ALL
Application Information -
Symptoms:
A File System restore to the original client machine, fails with the following log errors:
"Failed to exclude one or more NetVault directories from the restore"
"A fatal error ocurred initializing items to exclude from the restore"
"Restore pre-check failed. Cancel restore."
Restores to alternate machines completes successfully.
Trace show:
1 HBREST :28713 30 0 122827 Requesting selection tree
0 FSUTLUNX:28713 529 0 122827 Path does not start with a '/'
0 FSEXCLUS:28713 14 0 122827 Failed to normalize nv dir 'db'
0 FSEXCLUS:28713 5 0 122827 Failed to add exclusions for 'configure.cfg' 'Directories' 'Database'
0 FSEXCLUS:28713 4 0 122827 Failed to exclude NetVault directories
0 FSUNXRES:28713 37 0 122827 Failed to initialize exclusions system
3 LOGGING :28713 14 0 122827 'A fatal error ocurred initializing items to exclude from the restore'
Reasons
By default the NetVault directories are excluded from backup and restores.
To perform the exclusion, NetVault reads the ../netvault/config/configure.cfg file to obtain the netvault directories to exclude.
For example on Linux, these are:
'/usr/netvault/db'
'/usr/netvault/logs'
'/usr/netvault/tmp'
'/usr/netvault/trace'
'/usr/netvault/reports'
'/usr/netvault/stats'
In this case the trace shows we have a problem with the first path to exclude, which appears to be 'db'
whereas it should be '/usr/netvault/db'.
The configure.cfg file showed:
[Directories:Database]
Type=String
Width=32
Label=Database Directory
Label Id=5965
Help=Directory in which to place Netvault's on-line database
Help Id=0
reset=process manager
Value=db ##### should be =/usr/ne
1) enable trace on the client to restore to
2) the plugin trace (File System here) will reveal the exact item we fail to exclude.
3) check the path is correct
4) make sure the ../netvault/config/configure.cfg contains correct values for the relevant stanza reported in the trace, as it could
be either corrupt or has been edited manually by the user.