Forum Discussion

Ajith_Sankar's avatar
11 years ago
Solved

Need to change image db path

Hi Folks

  Master : Netbackup 7.6.0.2 with Appliance 5230, Windows 2008 R2 64-bit

At present Netbackup is on C:\, i wanted to move the image database to D:\. Please let me know any simplest solution. I dont want to implement Altpath fix.

Also let me know the procedure incase of move both image and relationla database to different path.

 

  • No idea how to do it in wndows, have you got any unix of linux servers,  easier to take a list of clients from the master, run it through a script on unix to create the script to run on the windows master

    If the file client_list  contains a list of clients.

     

    cat client_list |while read LINE 

    do

    echo "mkdir d:\netbackup\imagedb\images\$LINE" >>script

    echo "write output "d:\netbackup\imagedb\images\$LINE" | out-file "C:\Program Files\Veritas\NetBackup\db\images\$LINE\ALTPATH"" >>script

    done

    This should create a file on the unix machne call script, that contains two lines for each client in cllient_list :

    mkdir d:\netbackup\imagedb\images\client1

    write output "d:\netbackup\imagedb\images\client1" | out-file "C:\Program Files\Veritas\NetBackup\db\images\client1\ALTPATH"

    You then copy 'script' to the windows machine and run it in powershell.

    The first line for each client creates the dir, the second line puts the PATH to the alt location in the ALTPATH file in the top level of the images dir, for that client.

    NOTE:

    I'm not 100% sure the windows comaand write output is correct, I haven't tested it and don't have any windows  machines nearby to test on, but it gves an idea how it could be done, just might need some adjustment.

    Mark S might be along at some point, he might be able to advise how to do it completely in windows ...