How to use junction.exe to work around disk full issue during NetBackup catalog restore

Article: 100039302
Last Published: 2011-08-15
Ratings: 0 1
Product(s): NetBackup & Alta Data Protection

Description

NetBackup catalog recovery wizard  always restores contents back to the same location as when they were backed up. Restore will fail if that location does not have enough space. In such scenario, the fastest way to get back on track is by creating junction point (the equivalent of symlink in UNIX / Linux) that points to another location with plenty of space. Below is the procedure:

  1. Download the junction.zip from: https://docs.microsoft.com/en-us/sysinternals/downloads/junction
  2. Extract and put the executable file in a temporary directory.
  3. Shutdown NetBackup by running the bpdown command:
    • install_path\NetBackup\bin\bpdown -v -f
  4. Most of the time, the install_path\NetBackup\db\ directory consumes the most of server's disk space.
    • Cut and paste this directory to another location with plenty of space.
  5. Open Command Prompt window and "cd" to the temporary directory mentioned in step 2.
  6. Run the OS level junction command to manage any junctions:
    • junction.exe install_path\NetBackup\db\ target_path
    • Example - usage:
      • To create Junction Point: junction.exe <source> <target / actual physical directory>
      • To delete Junction Point: junction.exe -d <source>
      • All contents in target directory remain intact.
  7. Start NetBackup by running the bpup command:
    • install_path\NetBackup\bin\bpup -v -f
  8. Proceed with Catalog Recovery steps.

Was this content helpful?